We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f188a1f commit 3de1269Copy full SHA for 3de1269
1 file changed
rootfs/drycc/gunicorn/config.py
@@ -21,10 +21,11 @@
21
else:
22
bind = '0.0.0.0:8000'
23
24
-workers = int(os.environ.get('GUNICORN_WORKERS', 2))
+workers = int(os.environ.get('GUNICORN_WORKERS', 4))
25
+timeout = int(os.environ.get('GUNICORN_TIMEOUT', 30))
26
+keepalive = int(os.environ.get('GUNICORN_KEEPALIVE', 60))
27
worker_class = "uvicorn.workers.UvicornWorker"
28
pythonpath = dirname(dirname(dirname(realpath(__file__))))
-timeout = 1200
29
pidfile = '/tmp/gunicorn.pid'
30
logger_class = 'drycc.gunicorn.logging.Logging'
31
loglevel = 'info'
0 commit comments