Merge lp:~wgrant/launchpad/gh-rate-limit-auth into lp:launchpad
Proposed by
William Grant
Status: | Merged |
---|---|
Merged at revision: | 18295 |
Proposed branch: | lp:~wgrant/launchpad/gh-rate-limit-auth |
Merge into: | lp:launchpad |
Diff against target: |
113 lines (+52/-9) 2 files modified
lib/lp/bugs/externalbugtracker/github.py (+18/-9) lib/lp/bugs/externalbugtracker/tests/test_github.py (+34/-0) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/gh-rate-limit-auth |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+313309@code.launchpad.net |
Commit message
Fix GitHub bug sync rate limit check to not use the anonymous limit.
Description of the change
Pass the GitHub bug sync auth down to GitHubRateLimit.
Previously all requests except the rate limit check were authenticated,
but the rate limit check omitted the token, so requests would be
cancelled when they would have succeeded.
To post a comment you must log in.
I thought it might be something like this. Thanks!