diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-08-07 21:27:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-07 20:27:17 -0500 |
| commit | 9e84c88ad3c5bf8b404fe86e22bdadd6b56e58ec (patch) | |
| tree | 9e5a45ffc61737e49fb576cc0c2a98c724caf8a9 /.github/workflows | |
| parent | 1372bc87a2f00c5a95091b2bb00b0044173e86ec (diff) | |
| download | cryptography-9e84c88ad3c5bf8b404fe86e22bdadd6b56e58ec.tar.gz | |
Sleep after errors to increase the chance of success (#5382)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/download_openssl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/download_openssl.py b/.github/workflows/download_openssl.py index 99612ab79..1d5e3bfb4 100644 --- a/.github/workflows/download_openssl.py +++ b/.github/workflows/download_openssl.py @@ -1,6 +1,7 @@ import io import os import sys +import time import zipfile import requests @@ -20,6 +21,7 @@ def get_response(session, url, token): response.status_code, url ) ) + time.sleep(2) continue return response response = session.get(url, headers={"Authorization": "token " + token}) |
