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

Setup healthcheck timeout env variables #675

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

freezy-sk
Copy link
Contributor

For those struggling with setup stuck on Waiting for connection to Elasticsearch... or Waiting for connection to RabbitMQ..., I've added environment variables for healthcheck timeouts.
I've managed to get setup running with ES_HEALTHCHECK_TIMEOUT=300 and RABBITMQ_HEALTHCHECK_TIMEOUT=100
This pull request also brings RabbitMQ healthcheck through curl instead of just waiting few seconds

@markshust
Copy link
Owner

@freezy-sk this is awesome! Just tested this out and it worked great. This not only helps others who still aren't booted after 10 seconds, but also those who prime quickly are able to exit out of the unnecessary sleep 😁

@markshust markshust merged commit cfb669a into markshust:master Apr 12, 2022
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