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

2020-02-10 Thread bitwise...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Liam Newman resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Added the option per the PR. Thanks for contributing!  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-58696  
 
 
  Github Branch Source plugin thottle broken by unexpected rate limit headers   
 

  
 
 
 
 

 
Change By: 
 Liam Newman  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on 

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

2019-07-28 Thread boz...@yandex.ru (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Artem V. Navrotskiy created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58696  
 
 
  Github Branch Source plugin thottle broken by unexpected rate limit headers   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 github-branch-source-plugin  
 
 
Created: 
 2019-07-28 20:03  
 
 
Environment: 
 Repositories on github.com  
 
 
Priority: 
  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