Hibernating PC during BitBucket API download stage can hang if the API limit was exceeded prior to hibernation #6
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Python
Right now the code sleeps for an (increasing) fixed interval when it hits the BitBucket API limit. This should be change to sleep for 1 second in a loop, and using
time.time()
to catch when the PC hibernates and resumes, at which point we could immediately query the BitBucket API again as the rate limit should have expired by that point.The text was updated successfully, but these errors were encountered: