Commit 29f17d25 by baiquan

refactor(shop): 移除不必要的延时代码

- 删除了多条冗余的 time.sleep语句
- 简化为单条 time.sleep(1) 语句,适用于所有任务类型
parent 6f55d527
......@@ -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)
time.sleep(1)
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