Explorar el Código

update process count: 10->25

liqian hace 2 años
padre
commit
51967085b9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -291,7 +291,7 @@ def apprun(MULTI_PROCESS=True, ip='0.0.0.0', port=5001):
             mulserver._stop_event.wait()
  
         #for i in range(cpu_count()):
-        for i in range(10):
+        for i in range(25):
             p = Process(target=server_forever)
             p.start()