Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
doudian-py
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiquan
doudian-py
Commits
29f17d25
Commit
29f17d25
authored
Aug 13, 2025
by
baiquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(shop): 移除不必要的延时代码
- 删除了多条冗余的 time.sleep语句 - 简化为单条 time.sleep(1) 语句,适用于所有任务类型
parent
6f55d527
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
shop.py
+1
-4
No files found.
shop.py
View file @
29f17d25
...
...
@@ -249,8 +249,5 @@ if __name__ == '__main__':
OUTER_MAX_WORKERS
=
1
# 内层线程池大小(每个任务)
INNER_MAX_WORKERS
=
1
time
.
sleep
(
10
)
elif
task_type
==
TaskType
.
DOUDIAN_UPLOAD_IMAGE_AND_VIDEO
:
time
.
sleep
(
1
)
else
:
time
.
sleep
(
5
)
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