Updates to make Docker Compose better
This commit is contained in:
@@ -23,8 +23,8 @@ wsgi_app = "app.main:app"
|
||||
|
||||
# Setting a long timeout since some FastAPI API requests may take a while
|
||||
timeout = 2100 # default 30; 1200 is NOT enough; worker process silent then kill and restart
|
||||
graceful_timeout = 10 # default 30; timeout after restart signal
|
||||
keepalive = 30 # default 2; setting higher because behind load balancer (nginx)
|
||||
graceful_timeout = 20 # default 30; timeout after restart signal; tried 10 2023-07-11
|
||||
keepalive = 30 # default 2; setting higher because behind load balancer (nginx); tried 10 2023-07-11
|
||||
|
||||
# Reload does not work correctly with UvicornWorker
|
||||
# https://github.com/benoitc/gunicorn/issues/2339
|
||||
|
||||
Reference in New Issue
Block a user