Merge "Ceilometer compute retry_on_disconnect
using no-wait
"
This commit is contained in:
commit
14922b71d2
@ -108,7 +108,8 @@ def is_disconnection_exception(e):
|
||||
|
||||
retry_on_disconnect = tenacity.retry(
|
||||
retry=tenacity.retry_if_exception(is_disconnection_exception),
|
||||
stop=tenacity.stop_after_attempt(2))
|
||||
stop=tenacity.stop_after_attempt(3),
|
||||
wait=tenacity.wait_exponential(multiplier=3, min=1, max=60))
|
||||
|
||||
|
||||
def raise_nodata_if_unsupported(method):
|
||||
|
@ -39,7 +39,7 @@ requests-aws==0.1.4
|
||||
six==1.10.0
|
||||
stestr==2.0.0
|
||||
stevedore==3.0.0
|
||||
tenacity==4.12.0
|
||||
tenacity==6.3.1
|
||||
testresources==2.0.1
|
||||
testscenarios==0.4
|
||||
testtools==2.2.0
|
||||
|
@ -30,7 +30,7 @@ python-cinderclient>=3.3.0 # Apache-2.0
|
||||
PyYAML>=5.1 # MIT
|
||||
requests!=2.9.0,>=2.8.1 # Apache-2.0
|
||||
stevedore>=1.20.0 # Apache-2.0
|
||||
tenacity>=4.12.0 # Apache-2.0
|
||||
tenacity>=6.3.1,<7.0.0 # Apache-2.0
|
||||
tooz[zake]>=1.47.0 # Apache-2.0
|
||||
oslo.cache>=1.26.0 # Apache-2.0
|
||||
gnocchiclient>=7.0.0 # Apache-2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user