You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Calculate the sleep duration in every iteration (#514)
Calling `sleep` in a loop means starting the sleep from the beginning on every iteration. When targeting a specific point in time, we must therefore recalculate the time until then every iteration, or start the sleep before the loop.
Calculate the sleep duration in every iteration.
0 commit comments