mirror of
https://github.com/frappe/bench.git
synced 2024-11-17 02:25:16 +00:00
build(config): Change default worker count
This commit is contained in:
parent
d9521b4406
commit
f17c579ffd
@ -55,7 +55,7 @@ def get_gunicorn_workers():
|
|||||||
'''This function will return the maximum workers that can be started depending upon
|
'''This function will return the maximum workers that can be started depending upon
|
||||||
number of cpu's present on the machine'''
|
number of cpu's present on the machine'''
|
||||||
return {
|
return {
|
||||||
"gunicorn_workers": multiprocessing.cpu_count()
|
"gunicorn_workers": multiprocessing.cpu_count() * 2 + 1
|
||||||
}
|
}
|
||||||
|
|
||||||
def update_config_for_frappe(config, bench_path):
|
def update_config_for_frappe(config, bench_path):
|
||||||
|
Loading…
Reference in New Issue
Block a user