Эх сурвалжийг харах

HUE-7496 [core] Bump cherrypy threads by 10

We are seeing a lot of requests to other services being synchronous.
Romain Rigaux 8 жил өмнө
parent
commit
da8b1008b5

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

@@ -76,7 +76,7 @@
   ## enable_server=yes
 
   # Number of threads used by the CherryPy web server
-  ## cherrypy_server_threads=40
+  ## cherrypy_server_threads=50
 
   # This property specifies the maximum size of the receive buffer in bytes in thrift sasl communication (default 2 MB).
   ## sasl_max_buffer=2 * 1024 * 1024

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

@@ -80,7 +80,7 @@
   ## enable_server=yes
 
   # Number of threads used by the CherryPy web server
-  ## cherrypy_server_threads=40
+  ## cherrypy_server_threads=50
 
   # This property specifies the maximum size of the receive buffer in bytes in thrift sasl communication (default 2 MB).
   ## sasl_max_buffer=2 * 1024 * 1024

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

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