Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1719525

Browse files
committed
original values for @Retry
1 parent 65481ee commit 1719525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/api/v2/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def get_headers():
112112
return headers
113113

114114

115-
@retry(wait_random_min=20000, wait_random_max=30000,
116-
stop_max_attempt_number=7)
115+
@retry(wait_random_min=100, wait_random_max=1000, wait_exponential_max=10000,
116+
stop_max_delay=30000)
117117
def request(method, url, **kwargs):
118118
"""
119119
Central place to make any api v2 api request.

0 commit comments

Comments
 (0)