1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-29 23:38:17 +02:00

dev: reduce number of workders for dev server

This commit is contained in:
Qingping Hou
2017-05-25 19:57:03 -07:00
parent 6558d1f388
commit 08e3aa4ed6

View File

@@ -61,7 +61,7 @@ def main():
'bind': '%s:%s' % (server['host'], server['port']), 'bind': '%s:%s' % (server['host'], server['port']),
'worker_class': 'gevent', 'worker_class': 'gevent',
'accesslog': '-', 'accesslog': '-',
'workers': (multiprocessing.cpu_count() * 2) + 1 'workers': multiprocessing.cpu_count()
} }
gunicorn_server = StandaloneApplication(options, skip_build_assets) gunicorn_server = StandaloneApplication(options, skip_build_assets)