We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2643182 commit db9a903Copy full SHA for db9a903
aws_gate/bootstrap.py
@@ -42,7 +42,7 @@ def download(self):
42
self.download_path = os.path.join(tmp_dir, file_name)
43
try:
44
logger.debug("Downloading session-manager-plugin archive from %s", self.url)
45
- with requests.get(self.url, stream=True) as req:
+ with requests.get(self.url, stream=True, timeout=10) as req:
46
req.raise_for_status()
47
with open(self.download_path, "wb") as f:
48
shutil.copyfileobj(req.raw, f)
0 commit comments