Bumped failed_streak

This commit is contained in:
Emily 2018-05-24 12:24:54 +02:00
parent 76e86ab94a
commit 4934a269a9

View File

@ -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