Skip to content

Commit

Permalink
Merge pull request NNTin#218 from NNTin/dev
Browse files Browse the repository at this point in the history
Merge into master: apply delay time fix
  • Loading branch information
NNTin authored Dec 28, 2020
2 parents 6d70a4d + 45cfc0a commit ac487c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ def print_error(_error):
f"---------Error---------\n"
f"Known error. Ignore. Nothing you can do.\n"
f"{_error}\n"
f"Sleeping for 1 minute then continuing.\n"
f"Sleeping for 2 minutes then continuing.\n"
f"-----------------------"
)
sleep(600)
sleep(120)

try:
stream.filter(follow=follow, track=track, locations=location)
Expand All @@ -131,4 +131,4 @@ def print_error(_error):
f"Twitter streaming continues.\n"
f"-----------------------"
)
sleep(3000)
sleep(300)

0 comments on commit ac487c9

Please sign in to comment.