From 51a3174389c8199ee8d39b371960f2a8d9b76baa Mon Sep 17 00:00:00 2001 From: Dadr Date: Wed, 16 Jun 2021 22:21:47 -0400 Subject: [PATCH] Update base.py Addresses #186 --- services/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/base.py b/services/base.py index e9eac4d..1a6054b 100755 --- a/services/base.py +++ b/services/base.py @@ -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)