Commit 682406c9 authored by 张鹏程's avatar 张鹏程

修改上传文件bug

parent 075ef403
...@@ -42,17 +42,17 @@ class ReportAnalysis(BaseHandler): ...@@ -42,17 +42,17 @@ class ReportAnalysis(BaseHandler):
'TransactionDetails', 'TransactionDetails',
'QueryInfomation' 'QueryInfomation'
] ]
maxconnections = len(asslysis) #最大并发数 # maxconnections = len(asslysis) #最大并发数
semlock = threading.BoundedSemaphore(maxconnections) # semlock = threading.BoundedSemaphore(maxconnections)
for i in range(maxconnections): # for i in range(maxconnections):
semlock.acquire() # semlock.acquire()
t = threading.Thread(target=eval(asslysis[i]),args=(html.menu_dict,)) # t = threading.Thread(target=eval(asslysis[i]),args=(html.menu_dict,))
semlock.release() # semlock.release()
t.start() # t.start()
# PersonalInformation(html.menu_dict) PersonalInformation(html.menu_dict)
# InformationSummary(html.menu_dict) InformationSummary(html.menu_dict)
# TransactionDetails(html.menu_dict) TransactionDetails(html.menu_dict)
# QueryInfomation(html.menu_dict) QueryInfomation(html.menu_dict)
result = Result.get_result() result = Result.get_result()
Result.clear_result() Result.clear_result()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment