Bumped failed_streak
This commit is contained in:
parent
76e86ab94a
commit
4934a269a9
|
@ -62,6 +62,6 @@ while not finished:
|
||||||
extra_sleep = attempts
|
extra_sleep = attempts
|
||||||
print("target: {}, status: FAILED, attempt: {}".format(target, attempts))
|
print("target: {}, status: FAILED, attempt: {}".format(target, attempts))
|
||||||
time.sleep(config["scrape"]["delay"] + extra_sleep)
|
time.sleep(config["scrape"]["delay"] + extra_sleep)
|
||||||
if failed_streak > 10:
|
if failed_streak > 100:
|
||||||
exit()
|
exit()
|
||||||
memory["scrape"]["last"] = target
|
memory["scrape"]["last"] = target
|
Loading…
Reference in New Issue
Block a user