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
Merge branch 'django15'
[mygpo.git]
/
gunicorn.conf.py
blob
6a2da55ed43b578f2491cc61ae6b70ef5122f6c7
1
import
multiprocessing
2
3
bind
=
"127.0.0.1:8000"
4
workers
=
multiprocessing
.
cpu_count
() *
2
+
1
5
worker_class
=
"gevent"
6
7
# The maximum number of requests a worker will process before restarting.
8
max_requests
=
100000