mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
Merge pull request #1081 from ceefour/mr-karan-patch-1
build(config): Change default worker count
This commit is contained in:
commit
f899c9827c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user