-
Notifications
You must be signed in to change notification settings - Fork 847
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
Proper Gunicorn bringup detection #2842
Conversation
Signed-off-by: Ulincsys <[email protected]>
logger.info('Gunicorn webserver started...') | ||
logger.info(f'Augur is running at: {"http" if development else "https"}://{host}:{port}') | ||
logger.info(f"The API is available at '{api_response.json()['route']}'") | ||
|
||
processes = start_celery_worker_processes(float(worker_vmem_cap), disable_collection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0621: Redefining name 'processes' from outer scope (line 383) (redefined-outer-name)
@@ -91,7 +108,6 @@ def start(ctx, disable_collection, development, port): | |||
celery_beat_process = subprocess.Popen(celery_command.split(" ")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
Signed-off-by: Ulincsys <[email protected]>
logger.info('Gunicorn webserver started...') | ||
logger.info(f'Augur is running at: {"http" if development else "https"}://{host}:{port}') | ||
logger.info(f"The API is available at '{api_response.json()['route']}'") | ||
|
||
processes = start_celery_worker_processes(float(worker_vmem_cap), disable_collection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0621: Redefining name 'processes' from outer scope (line 386) (redefined-outer-name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks worth testing after this coming release since we are already testing.
Description
/api
route to get the location of the backend APIbackend start
invocation/api
to check that service has startedFuture Work
Signed commits