mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update setting.py
This commit is contained in:
+3
-3
@@ -10,9 +10,9 @@ sys.path.append("/usr/local/lib/python2.7/site-packages")
|
||||
import public
|
||||
import system_api
|
||||
|
||||
cpu_info = system_api.system_api().getCpuInfo()
|
||||
workers = cpu_info[1] + 1
|
||||
# workers = 2
|
||||
# cpu_info = system_api.system_api().getCpuInfo()
|
||||
# workers = cpu_info[1] + 1
|
||||
workers = 2
|
||||
|
||||
|
||||
if not os.path.exists(os.getcwd() + '/logs'):
|
||||
|
||||
Reference in New Issue
Block a user