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
Backoff uses timedelta.total_seconds(datetime.datetime.now() - start) to compute elapsed time which is used to figure out if max_time has been reached. This is flaky and doesn't work well when the system clock is being updated: when adjusting time from the network or adjusting to daylight saving time for example.
Backoff uses
timedelta.total_seconds(datetime.datetime.now() - start)
to computeelapsed
time which is used to figure out ifmax_time
has been reached. This is flaky and doesn't work well when the system clock is being updated: when adjusting time from the network or adjusting to daylight saving time for example.Instead
monotonic
time should be used, using for example https://docs.python.org/3/library/time.html#time.monotonicThe text was updated successfully, but these errors were encountered: