Explorar o código

wsgi: reduce processes.

INADA Naoki %!s(int64=11) %!d(string=hai) anos
pai
achega
c19a38b0c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wsgi/setup.py

+ 1 - 1
wsgi/setup.py

@@ -27,7 +27,7 @@ def start(args, logfile, errfile):
                           cwd="wsgi", stderr=errfile, stdout=logfile, shell=True)
 
     with open("wsgi/circus.ini", "w") as f:
-        f.write(CIRCUS_INI.format(BIN=bin_dir, PROCS=NCPU*3))
+        f.write(CIRCUS_INI.format(BIN=bin_dir, PROCS=NCPU*2))
 
     proc = subprocess.Popen([bin_dir + "/circusd", "circus.ini"],
 		            cwd="wsgi", stderr=errfile, stdout=logfile)