2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-29 07:19:05 +00:00

build(config): Change default worker count

This commit is contained in:
Karan Sharma 2018-10-24 16:41:05 +05:30 committed by Hendy Irawan
parent d9521b4406
commit f17c579ffd

View File

@ -55,7 +55,7 @@ def get_gunicorn_workers():
'''This function will return the maximum workers that can be started depending upon
number of cpu's present on the machine'''
return {
"gunicorn_workers": multiprocessing.cpu_count()
"gunicorn_workers": multiprocessing.cpu_count() * 2 + 1
}
def update_config_for_frappe(config, bench_path):