Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e71bad69
authored
2024-11-21 15:20:07 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ADD:测试是否单线程
1 parent
9b3f6ad9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
e71bad6
...
...
@@ -1527,6 +1527,11 @@ class SECMSView(GenericView):
fsm_contract
=
cms_info
.
get
(
'FSMContract'
,
False
)
is_fsm
=
1
if
fsm_contract
else
0
# 测试是否单线程
self
.
running_log
.
info
(
'接到请求,准备sleep'
)
time
.
sleep
(
10
)
self
.
running_log
.
info
(
'sleep结束'
)
auto_class
=
HILAutoSettlement
if
business_type
in
consts
.
HIL_SET
else
AFCAutoSettlement
auto_obj
=
auto_class
.
objects
.
filter
(
application_id
=
application_id
)
.
first
()
if
is_auto
:
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment