From 9a782c5c37c18460dc215d68b1d2428544e33bbf Mon Sep 17 00:00:00 2001 From: Silvio Tomatis Date: Wed, 17 Apr 2019 09:38:20 +0200 Subject: [PATCH] Use the actually recommended value, not a random copy-paste I found somewhere and shamefully didn't check --- tutor/templates/build/openedx/gunicorn_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutor/templates/build/openedx/gunicorn_conf.py b/tutor/templates/build/openedx/gunicorn_conf.py index 2a2532e..0abcbf7 100644 --- a/tutor/templates/build/openedx/gunicorn_conf.py +++ b/tutor/templates/build/openedx/gunicorn_conf.py @@ -2,4 +2,4 @@ import multiprocessing # The recommended number of workers is twice the # CPU count plus one -workers = (multiprocessing.cpu_count()-1) * 2 + 2 +workers = (multiprocessing.cpu_count() * 2) + 1