Browse Source

update process count: 80->20

liqian 2 years ago
parent
commit
1c678908f8
1 changed files with 1 additions and 1 deletions
  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(80):
+        for i in range(20):
             p = Process(target=server_forever)
             p.start()