Browse Source

Merge "Increase request timeout for sidecar"

changes/47/665047/3
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
a9dc1d7751
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      runtimes/sidecar/sidecar.py

+ 1
- 1
runtimes/sidecar/sidecar.py View File

@ -56,7 +56,7 @@ def _download_package(url, zip_file, token=None, unzip=None):
headers = {'X-Auth-Token': token}
try:
r = requests.get(url, headers=headers, stream=True, timeout=5,
r = requests.get(url, headers=headers, stream=True, timeout=30,
verify=False)
if r.status_code != 200:
return make_response(DOWNLOAD_ERROR % (url, r.content), 500)


Loading…
Cancel
Save