Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 39b88b1

Browse files
committed
fix
1 parent 1f1ae27 commit 39b88b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databend_py/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def newfn(*args, **kwargs):
2424
'Exception thrown when attempting to run %s, attempt '
2525
'%d of %d' % (func, attempt, times)
2626
)
27-
time.sleep(attempt)
27+
time.sleep(attempt * 5)
2828
attempt += 1
2929
return func(*args, **kwargs)
3030

0 commit comments

Comments
 (0)