summaryrefslogtreecommitdiff
path: root/heat/objects/resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'heat/objects/resource.py')
-rw-r--r--heat/objects/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/objects/resource.py b/heat/objects/resource.py
index 3aba3405f..315f7f0a6 100644
--- a/heat/objects/resource.py
+++ b/heat/objects/resource.py
@@ -41,7 +41,7 @@ LOG = logging.getLogger(__name__)
def retry_on_conflict(func):
wrapper = tenacity.retry(
stop=tenacity.stop_after_attempt(11),
- wait=tenacity.wait_random(max=2),
+ wait=tenacity.wait_random_exponential(multiplier=0.5, max=60),
retry=tenacity.retry_if_exception_type(
exception.ConcurrentTransaction),
reraise=True)