Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add configurability for index creation timeouts #177

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

cjenkscybercom
Copy link
Collaborator

@cjenkscybercom cjenkscybercom commented Oct 12, 2023

Adds configuration for timeout and master_timeout for the create index operation, needed in slow envs such as CI/CD on GitHub where index creation can take a while but fails due to the default timeout (30s).

https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html

master_timeout
(Optional, time units) Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Defaults to 30s.
timeout
(Optional, time units) Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to 30s.

@shroffk shroffk merged commit 397ca55 into master Oct 12, 2023
3 checks passed
@cjenkscybercom
Copy link
Collaborator Author

Thanks Kunal!

@cjenkscybercom cjenkscybercom deleted the add-index-creation-timeout branch October 12, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants