From f17c579ffdbb82526acff00dea03e0b624c2bd81 Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Wed, 24 Oct 2018 16:41:05 +0530 Subject: [PATCH] build(config): Change default worker count --- bench/config/common_site_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/config/common_site_config.py b/bench/config/common_site_config.py index 02c6778a..d71d9efd 100644 --- a/bench/config/common_site_config.py +++ b/bench/config/common_site_config.py @@ -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):