projects
/
oweals
/
karmaworld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
reformat and cleanup upload lightbox template
[oweals/karmaworld.git]
/
gunicorn.py.ini
1
"""gunicorn WSGI server configuration."""
2
3
4
from multiprocessing import cpu_count
5
from os import environ
6
7
8
def max_workers():
9
return cpu_count()
10
11
12
bind = '0.0.0.0:' + environ.get('PORT', '8000')
13
max_requests = 1000
14
worker_class = 'gevent'
15
workers = max_workers()