diff options
Diffstat (limited to 'sync.py')
| -rwxr-xr-x | sync.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| @@ -170,7 +170,9 @@ def main():      open_db()      s = requests.Session() -    retries = Retry(total=5, backoff_factor=1, status_forcelist=[ 502, 503, 504 ]) +    retries = Retry(total=16, +                    backoff_factor=1.5, +                    status_forcelist=[ 429, 502, 503, 504 ])      s.mount('https://', HTTPAdapter(max_retries=retries))      handle_auth(s) | 
