فهرست منبع

[core] Bump number of cherrypy threads to 40

Most of the requests takes times to come back
Romain Rigaux 10 سال پیش
والد
کامیت
c028749c23
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      desktop/conf.dist/hue.ini
  2. 1 1
      desktop/conf/pseudo-distributed.ini.tmpl
  3. 1 1
      desktop/core/src/desktop/conf.py

+ 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",