Browse Source

API-Hour FrameworkBenchmark: Change default number of workers

Ludovic Gasc (GMLudo) 10 years ago
parent
commit
df5774215f

+ 1 - 1
frameworks/Python/API-Hour/hello/etc/hello/api_hour/gunicorn_conf.py

@@ -3,7 +3,7 @@ import os
 
 _is_travis = os.environ.get('TRAVIS') == 'true'
 
-workers = multiprocessing.cpu_count() * 1
+workers = multiprocessing.cpu_count() * 2
 if _is_travis:
     workers = 2