Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
Internet went out today, and I experienced mrworf#186.
  • Loading branch information
Dadr committed Jun 17, 2021
1 parent 2e94072 commit ec390d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def requestUrl(self, url, destination=None, params=None, data=None, usePost=Fals
break
except Exception:
logging.exception('Issues downloading')
time.sleep(tries / 10) # Back off 10, 20, ... depending on tries
time.sleep(tries * 10) # Back off 10, 20, ... depending on tries
tries += 1
logging.warning('Retrying again, attempt #%d', tries)

Expand Down

0 comments on commit ec390d9

Please sign in to comment.