Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hibernating PC during BitBucket API download stage can hang if the API limit was exceeded prior to hibernation #6

Open
philipstarkey opened this issue Feb 1, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed Python

Comments

@philipstarkey
Copy link
Owner

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.

@philipstarkey philipstarkey added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers Python labels Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed Python
Projects
None yet
Development

No branches or pull requests

1 participant