14 lines
303 B
Python
14 lines
303 B
Python
# === FILE: gunicorn.conf.py ===
|
|
bind = "0.0.0.0:5000"
|
|
workers = 2
|
|
threads = 2
|
|
worker_class = "sync"
|
|
worker_connections = 1000
|
|
timeout = 120
|
|
keepalive = 5
|
|
max_requests = 1000
|
|
max_requests_jitter = 100
|
|
accesslog = "/var/log/gunicorn/access.log"
|
|
errorlog = "/var/log/gunicorn/error.log"
|
|
loglevel = "info"
|