reset sleep time
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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') | ... | ... |
-
Please register or sign in to post a comment