Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0fb6ca7

Browse files
Loops
1 parent 6220588 commit 0fb6ca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Loops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
print('-' * 50)
9393

94-
# Retry system with exponential wait
94+
# Retry system with exponential wait if some one try it will wait again twice
9595
import time
9696
wait_time = 1
9797
max_retries = 5
@@ -100,4 +100,4 @@
100100
print('Attempt', attempts + 1, '- wait time', wait_time, 'seconds')
101101
time.sleep(wait_time)
102102
wait_time *= 2
103-
attempts += 1
103+
attempts += 1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /