Merge pull request #56 from gpodder/update-result
[mygpo.git] / conf / gunicorn.conf.py
blob1288d293d031485d0a847f91c7004fcb46f283b5
1 import multiprocessing
3 bind = "unix:/tmp/mygpo.sock"
4 workers = multiprocessing.cpu_count()
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
16 worker_connections = 100