Config-help: [Question] Burning through github rate limit

Created on 24 May 2019  路  3Comments  路  Source: renovatebot/config-help

Which Renovate are you using? CLI, App, or Pro

Self hosted kubernetes

Which platform are you using? GitHub, GitLab, Bitbucket Azure DevOps

GitHub

What is your question?

We are slowly onboarding more teams to renovate and i'm noticing with 21 repos we are burning through the 5000 request/hr in githubs api. I'm just wondering if there a configuration issue, or if renovate is really generating that many requests each call.

I'm running the cron every 5 minutes because teams would like the automated rebasing to happen more frequently.

Do you have any suggestions?

Here's my config

{
..
  },
  "scripts": {
    "validate": "renovate-config-validator"
  },
  "renovate-config": {
    "default": {
      "extends": [
        "config:base",
        ":preserveSemverRanges",
        ":rebaseStalePrs",
        ":semanticCommits",
        ":semanticCommitTypeAll(chore)",
        ":prHourlyLimit4"
      ],
      "major": {
        "enabled": false
      },
      "prConcurrentLimit": 3,
      "schedule": [
        "before 6am every weekday"
      ],
      "timezone": "America/Los_Angeles",
      "rangeStrategy": "bump",
      "dockerfile": {
        "enabled": false
      },
      "circleci": {
        "ignoreDeps": [
          "circleci/node"
        ]
      },
      "packageRules": [
        {
          "datasources": [
            "orb"
          ],
          "enabled": false
        },
        {
          "packageNames": [
            "@org/package"
          ],
          "updateTypes": [
            "major"
          ],
          "enabled": false
        },
        {
          "depTypeList": [
            "dependencies"
          ],
          "semanticCommitType": "fix"
        },
        {
          "depTypeList": [
            "devDependencies"
          ],
          "groupName": "devDependencies",
          "separateMajorMinor": false,
          "separateMinorPatch": false
        }
      ],
      "patch": {
        "groupName": "patchReleases"
      },
      "separateMinorPatch": true
    }
  },
  "dependencies": {},
  "devDependencies": {
    "renovate": "^17.7.9"
  }
}

Most helpful comment

5 minute intervals will definitely burn through your API limit.

gitFs will reduce the number of API calls, and it's actually about to be made the default and only option in v18 of Renovate next week.

But otherwise I would of course recommend you consider Renovate Pro if you have teams interested in responsiveness to webhooks.

All 3 comments

Also, I assume if we used the gitFs backend option, that should reduce the number of API calls?

5 minute intervals will definitely burn through your API limit.

gitFs will reduce the number of API calls, and it's actually about to be made the default and only option in v18 of Renovate next week.

But otherwise I would of course recommend you consider Renovate Pro if you have teams interested in responsiveness to webhooks.

@rarkins thanks for the info. Also, we are looking at Renovate Pro ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arcanemagus picture Arcanemagus  路  3Comments

jenniesyip picture jenniesyip  路  3Comments

sidharthachatterjee picture sidharthachatterjee  路  8Comments

dmt0 picture dmt0  路  10Comments

cowchimp picture cowchimp  路  4Comments