修复提交订单成功后不停止排队 #35

This commit is contained in:
Jalin
2019-01-15 23:12:12 +08:00
parent 8df3c4032d
commit 1c98e2743a
5 changed files with 38 additions and 16 deletions

View File

@@ -45,10 +45,10 @@ class Web:
def start(self):
if not Config().WEB_ENABLE or Config().is_slave(): return
if Config().IS_DEBUG:
self.run_session()
else:
create_thread_and_run(self, 'run_session', wait=False)
# if Config().IS_DEBUG:
# self.run_session()
# else:
create_thread_and_run(self, 'run_session', wait=False)
def run_session(self):
debug = False