You've already forked oncall
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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user