Skip to content

Commit 6b21778

Browse files
committed
raise retry times
1 parent b1fe0af commit 6b21778

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qiita_client/qiita_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
# if the log level is not CRITICAL, the default, then we not expect slow
3232
# responses from the server so let's make the retries values small
3333
if logger.level != logging.CRITICAL:
34-
MAX_RETRIES = 1
35-
MIN_TIME_SLEEP = 1
36-
MAX_TIME_SLEEP = 3
34+
MAX_RETRIES = 2
35+
MIN_TIME_SLEEP = 3
36+
MAX_TIME_SLEEP = 10
3737
else:
3838
MAX_RETRIES = 3
3939
MIN_TIME_SLEEP = 180

0 commit comments

Comments
 (0)