Skip to content

Commit 0553908

Browse files
committed
ref(gunicorn/config.py): double default worker count
Improves connection handling throughput at the cost of some memory.
1 parent c371950 commit 0553908

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/deis/gunicorn/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
if workers < 1:
1111
raise ValueError()
1212
except (NameError, ValueError):
13-
workers = (os.cpu_count() or 4) * 2 + 1
13+
workers = (os.cpu_count() or 4) * 4 + 1
1414

1515
pythonpath = dirname(dirname(dirname(realpath(__file__))))
1616
timeout = 1200

0 commit comments

Comments
 (0)