projects
/
osm
/
LCM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c773744
)
Adds TimeoutError handling to the retryer wrapper function. This will ensure that...
27/13027/1
author
Gabriel Cuba
<gcuba@whitestack.com>
Tue, 28 Feb 2023 23:51:19 +0000
(18:51 -0500)
committer
Gabriel Cuba
<gcuba@whitestack.com>
Tue, 28 Feb 2023 23:52:19 +0000
(18:52 -0500)
Change-Id: I49a0ec370986e45e8b779f361ee4d72ff5a15ef1
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
osm_lcm/lcm_helm_conn.py
patch
|
blob
|
history
diff --git
a/osm_lcm/lcm_helm_conn.py
b/osm_lcm/lcm_helm_conn.py
index
4d1bfb2
..
d1ad4c5
100644
(file)
--- a/
osm_lcm/lcm_helm_conn.py
+++ b/
osm_lcm/lcm_helm_conn.py
@@
-47,7
+47,7
@@
from osm_lcm.lcm_utils import deep_get
def retryer(max_wait_time_var="_initial_retry_time", delay_time_var="_retry_delay"):
def wrapper(func):
- retry_exceptions =
ConnectionRefusedError
+ retry_exceptions =
(ConnectionRefusedError, TimeoutError)
@functools.wraps(func)
async def wrapped(*args, **kwargs):