fix a typo for retry policy.
DELA -> DELAY Change-Id: I2da254790c77d605b59a83ce688880367d2884ab
This commit is contained in:
parent
7ca8254a42
commit
798580f497
@ -121,7 +121,7 @@ RETRY_OPS = (
|
||||
MINIMUM_DELAY_RETRIES,
|
||||
MINIMUM_DELAY,
|
||||
MAXIMUM_DELAY,
|
||||
MAXIMUM_DELA_RETRIES,
|
||||
MAXIMUM_DELAY_RETRIES,
|
||||
LINEAR_INTERVAL,
|
||||
) = (
|
||||
3,
|
||||
|
@ -83,7 +83,7 @@ class WebhookTask(object):
|
||||
# Post-Backoff Phase
|
||||
for maximum_delay_retries in range(
|
||||
0, retry_policy.get('maximum_delay_retries',
|
||||
consts.MAXIMUM_DELA_RETRIES)):
|
||||
consts.MAXIMUM_DELAY_RETRIES)):
|
||||
LOG.debug('Retry with maximum delay, count: %s',
|
||||
maximum_delay_retries)
|
||||
time.sleep(retry_policy.get('maximum_delay', consts.MAXIMUM_DELAY))
|
||||
|
Loading…
x
Reference in New Issue
Block a user