Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
Addresses mrworf#186
  • Loading branch information
Dadr committed Jun 17, 2021
1 parent 0373c28 commit 51a3174
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 @@ -696,7 +696,7 @@ def requestUrl(self, url, destination=None, params=None, data=None, usePost=Fals
break
except:
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 51a3174

Please sign in to comment.