From 97fa31eed8f9ab23e10ec58e0574bd0b069212b3 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Wed, 13 Mar 2013 23:25:08 -0700 Subject: [PATCH] Minimum of MEMORY/256 workers. --- config/gunicorn_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/gunicorn_conf.py b/config/gunicorn_conf.py index 864f05fa8..c751e3b44 100644 --- a/config/gunicorn_conf.py +++ b/config/gunicorn_conf.py @@ -19,4 +19,4 @@ else: workers = int(NUM_CPUS / 2) if workers <= 2: - workers = math.floor(GIGS_OF_MEMORY / 256) \ No newline at end of file + workers = math.floor(GIGS_OF_MEMORY * 1000 / 256) \ No newline at end of file