Bump number of threads to 75 for production server.
Cherrypy does not support dynamically increasing the thread_pool
size based on demand. This change brings the number of threads
in the thread pool to 75. 75 was chosen as it's the max number
of spare threads allowed in the default apache config.
BUG=chromium-os:32450
TEST=Running in production now.
Change-Id: Id8fcbb786b6f6fcec8f1f7e56f06c1412a2a80a4
Reviewed-on: https://gerrit.chromium.org/gerrit/27330
Tested-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Ready: Chris Sosa <sosa@chromium.org>
diff --git a/devserver.py b/devserver.py
index 64b61db..e3e48dd 100755
--- a/devserver.py
+++ b/devserver.py
@@ -105,7 +105,7 @@
},
}
if options.production:
- base_config['global'].update({'server.thread_pool': 30})
+ base_config['global'].update({'server.thread_pool': 75})
return base_config