d024de62 by 周伟奇

reset sleep time

1 parent 1aaae4f9
...@@ -197,6 +197,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -197,6 +197,7 @@ class Command(BaseCommand, LoggerMixin):
197 time.sleep(sleep_second) 197 time.sleep(sleep_second)
198 sleep_second = min(max_sleep_second, sleep_second+5) 198 sleep_second = min(max_sleep_second, sleep_second+5)
199 continue 199 continue
200 sleep_second = 5
200 try: 201 try:
201 # PDF文件提取图片 202 # PDF文件提取图片
202 img_save_path = os.path.join(doc_data_path, 'img') 203 img_save_path = os.path.join(doc_data_path, 'img')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!