[JIRA] (JENKINS-58696) Github Branch Source plugin thottle broken by unexpected rate limit headers

4 views
Skip to first unread message

bozaro@yandex.ru (JIRA)

unread,
Jul 28, 2019, 4:04:03 PM7/28/19
to jenkinsc...@googlegroups.com
Artem V. Navrotskiy created an issue
 
Jenkins / Bug JENKINS-58696
Github Branch Source plugin thottle broken by unexpected rate limit headers
Issue Type: Bug Bug
Assignee: Unassigned
Components: github-branch-source-plugin
Created: 2019-07-28 20:03
Environment: Repositories on github.com
Priority: Minor Minor
Reporter: Artem V. Navrotskiy

We got some messages like:
GitHub API Usage: Current quota has 3900 remaining (78 over budget). Next quota of 5000 in 59 min. Sleeping for 1 min 39 sec
After investigation we found, that GitHub rate limit remaining and resetDate sometimes increase (out log part: https://gist.github.com/bozaro/1b64f3eb617af97b5f4c822cac870212).

I could not figure out how to implement the correct throttling.

We disable trottling (https://github.com/jenkinsci/github-branch-source-plugin/pull/237) and minimal remaining value for 14 days is 2986). So without throttling we never exceeds rate limit.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bitwiseman@gmail.com (JIRA)

unread,
Feb 10, 2020, 7:35:03 PM2/10/20
to jenkinsc...@googlegroups.com
Liam Newman resolved as Fixed
 

Added the option per the PR. Thanks for contributing!

Change By: Liam Newman
Status: Open Resolved
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages