Просмотр исходного кода

[core] Bump number of cherrypy threads to 40

Most of the requests takes times to come back
Romain Rigaux 10 лет назад
Родитель
Сommit
c028749

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -60,7 +60,7 @@
   ## enable_server=yes
 
   # Number of threads used by the CherryPy web server
-  ## cherrypy_server_threads=10
+  ## cherrypy_server_threads=40
 
   # Filename of SSL Certificate
   ## ssl_certificate=

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -66,7 +66,7 @@
   ## enable_server=yes
 
   # Number of threads used by the CherryPy web server
-  ## cherrypy_server_threads=10
+  ## cherrypy_server_threads=40
 
   # Filename of SSL Certificate
   ## ssl_certificate=

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -135,7 +135,7 @@ CHERRYPY_SERVER_THREADS = Config(
   key="cherrypy_server_threads",
   help=_("Number of threads used by the CherryPy web server."),
   type=int,
-  default=10)
+  default=40)
 
 SECRET_KEY = Config(
   key="secret_key",