repo.or.cz
/
mygpo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix link to removed page on "subscribe" page
[mygpo.git]
/
gunicorn.conf.py
blob
408a2591a9e5c741107f180303b0c9853d207a0f
1
import
multiprocessing
2
3
bind
=
"0.0.0.0:8000"
4
workers
=
multiprocessing
.
cpu_count
() *
2
+
1
5
6
# The maximum number of requests a worker will process before restarting.
7
max_requests
=
1000
8
9
errorlog
=
'/var/log/gunicorn/error.log'
10
accesslog
=
'/var/log/gunicorn/access.log'
11
loglevel
=
'info'
12
13
timeout
=
120
14
graceful_timeout
=
60