[Users] fix user cleanup task interval
[mygpo.git] / gunicorn.conf.py
blob408a2591a9e5c741107f180303b0c9853d207a0f
1 import multiprocessing
3 bind = "0.0.0.0:8000"
4 workers = multiprocessing.cpu_count() * 2 + 1
6 # The maximum number of requests a worker will process before restarting.
7 max_requests = 1000
9 errorlog='/var/log/gunicorn/error.log'
10 accesslog='/var/log/gunicorn/access.log'
11 loglevel='info'
13 timeout = 120
14 graceful_timeout = 60