We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ae1e35 + 3105911 commit f8f7927Copy full SHA for f8f7927
1 file changed
rootfs/api/models/app.py
@@ -461,8 +461,9 @@ def verify_application_health(self, **kwargs):
461
try:
462
# http://docs.python-requests.org/en/master/user/advanced/#timeouts
463
response = session.get(url, timeout=req_timeout)
464
- except requests.exceptions.ConnectTimeout:
465
- # We are fine with timeouts, lets keep trying
+ except requests.exceptions.RequestException:
+ # We are fine with timeouts and request problems, lets keep trying
466
+ time.sleep(1) # just a bit of a buffer
467
continue
468
469
# 30 second timeout (timout per request * 10)
0 commit comments