Promenade timeout adjustment
This PS set read/connection timeout to None for http requests. Change-Id: Ia2d8b59a5fa55bac24575149c8c1e8a67707c29d
This commit is contained in:
parent
a3fdc9e52c
commit
45bcba068e
|
@ -196,7 +196,7 @@ def _fetch_tar_url(url):
|
||||||
# by a timeout.
|
# by a timeout.
|
||||||
for attempt in itertools.count():
|
for attempt in itertools.count():
|
||||||
try:
|
try:
|
||||||
response = requests.get(url, timeout=5)
|
response = requests.get(url, timeout=None)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
break
|
break
|
||||||
except requests.exceptions.RequestException:
|
except requests.exceptions.RequestException:
|
||||||
|
|
|
@ -30,7 +30,7 @@ def get_documents(design_ref, ctx=None):
|
||||||
|
|
||||||
|
|
||||||
def _get_from_basic_web(design_ref):
|
def _get_from_basic_web(design_ref):
|
||||||
return requests.get(design_ref, timeout=5)
|
return requests.get(design_ref, timeout=None)
|
||||||
|
|
||||||
|
|
||||||
def _get_from_deckhand(design_ref, ctx=None):
|
def _get_from_deckhand(design_ref, ctx=None):
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Beaker<=1.12.0
|
Beaker<=1.12.0
|
||||||
click
|
click
|
||||||
ConfigParser
|
ConfigParser
|
||||||
Deckhand @ git+https://opendev.org/airship/deckhand.git@e4cf0c17df103683b971b07f6b29d58f1ae681c0#egg=deckhand
|
Deckhand @ git+https://opendev.org/airship/deckhand.git@3a06b1b6040865483a09514e2bf7dc5fae24560e#egg=deckhand
|
||||||
docutils<=0.17
|
docutils<=0.17
|
||||||
falcon
|
falcon
|
||||||
fixtures
|
fixtures
|
||||||
|
|
|
@ -20,7 +20,7 @@ configparser==5.3.0
|
||||||
coverage==7.2.5
|
coverage==7.2.5
|
||||||
cryptography==3.4.8
|
cryptography==3.4.8
|
||||||
debtcollector==2.5.0
|
debtcollector==2.5.0
|
||||||
Deckhand @ git+https://opendev.org/airship/deckhand.git@e4cf0c17df103683b971b07f6b29d58f1ae681c0
|
Deckhand @ git+https://opendev.org/airship/deckhand.git@3a06b1b6040865483a09514e2bf7dc5fae24560e
|
||||||
decorator==5.1.1
|
decorator==5.1.1
|
||||||
deepdiff==5.8.1
|
deepdiff==5.8.1
|
||||||
distlib==0.3.6
|
distlib==0.3.6
|
||||||
|
@ -39,7 +39,7 @@ flake8==3.8.4
|
||||||
futurist==2.4.1
|
futurist==2.4.1
|
||||||
gitdb==4.0.10
|
gitdb==4.0.10
|
||||||
GitPython==3.1.31
|
GitPython==3.1.31
|
||||||
google-auth==2.17.3
|
google-auth==2.18.0
|
||||||
greenlet==2.0.2
|
greenlet==2.0.2
|
||||||
hacking==4.1.0
|
hacking==4.1.0
|
||||||
html5lib==0.9999999
|
html5lib==0.9999999
|
||||||
|
@ -90,8 +90,8 @@ Paste==3.5.0
|
||||||
PasteDeploy==3.0.1
|
PasteDeploy==3.0.1
|
||||||
PasteScript==3.3.0
|
PasteScript==3.3.0
|
||||||
pbr==5.5.1
|
pbr==5.5.1
|
||||||
pip==23.0.1
|
pip==23.1.2
|
||||||
platformdirs==3.5.0
|
platformdirs==3.5.1
|
||||||
pluggy==1.0.0
|
pluggy==1.0.0
|
||||||
ply==3.11
|
ply==3.11
|
||||||
prettytable==3.7.0
|
prettytable==3.7.0
|
||||||
|
|
Loading…
Reference in New Issue