Update setting.py

pull/109/head
Mr Chen 6 years ago
parent fcf6ab5807
commit 7fb7a30c43
  1. 6
      setting.py

@ -10,9 +10,9 @@ sys.path.append("/usr/local/lib/python2.7/site-packages")
import public import public
import system_api import system_api
cpu_info = system_api.system_api().getCpuInfo() # cpu_info = system_api.system_api().getCpuInfo()
workers = cpu_info[1] + 1 # workers = cpu_info[1] + 1
# workers = 2 workers = 2
if not os.path.exists(os.getcwd() + '/logs'): if not os.path.exists(os.getcwd() + '/logs'):

Loading…
Cancel
Save