-
Hello, We recently started to work with atlantis and every now and then we get this rate limit error from github api '403 API rate limit of 5000 still exceeded'. I understand that i can use github app and increase the limit up to 12,500 requests but i don't understand how we reach 5000 requests per hour and if there's a way to decrease the request atlantis send to github, if i'll increase to 12,500 it's only a matter of time until we will grow in projects and team members and reach this limit. Thanks, I hope someone can help me |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Atlantis is most likely hitting this limit because every pr hits the github (or vcs) api. It's also commonly run as a single instance meaning it only has a single ip. Atlantis will hit the api just to get the files changed, for example. Some of this can certainly be fixed in order to reduce our load on the api. It's probably one more thing we need to check for when reviewing prs that increase vcs load. Some ways to solve this by modifying the code
Pull requests to reduce the vcs load are welcome |
Beta Was this translation helpful? Give feedback.
-
I found the issue atlantis were configured to listen to all the repos, i saw in the logs api request to all our organization repos:
I changed the id to a specific project and i guess this will solve my issue, anyway thanks for the help :) |
Beta Was this translation helpful? Give feedback.
-
the issue still persist, apparently the real issue were that i configured the github webhook in the organization , I moved the webhook to the terraform project level |
Beta Was this translation helpful? Give feedback.
the issue still persist, apparently the real issue were that i configured the github webhook in the organization , I moved the webhook to the terraform project level