Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
credit-report-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
credit-report-api
Commits
682406c9
Commit
682406c9
authored
Aug 23, 2019
by
张鹏程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改上传文件bug
parent
075ef403
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
ReportAnalysis_Handler.py
handler/ReportAnalysis_Handler.py
+11
-11
No files found.
handler/ReportAnalysis_Handler.py
View file @
682406c9
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment