Skip to content

Deploy demo job is failing due to rate limit #79

Open

Activity

  1. changed the title [-]Deploy demo job is failing[/-] [+]Deploy demo job is failing due to rate limit[/+] on Apr 5, 2023
  2. simonw commented on Apr 5, 2023

    @simonw
    CollaboratorAuthor

    It's a rate limiting problem: https://github.com/dogsheep/github-to-sqlite/actions/runs/4622674009/jobs/8175633155

      File "/home/runner/work/github-to-sqlite/github-to-sqlite/github_to_sqlite/cli.py", line 407, in commits
        utils.save_commits(db, commits, repo_full["id"])
      File "/home/runner/work/github-to-sqlite/github-to-sqlite/github_to_sqlite/utils.py", line 635, in save_commits
        for commit in commits:
      File "/home/runner/work/github-to-sqlite/github-to-sqlite/github_to_sqlite/utils.py", line 417, in fetch_commits
        for commits in paginate(url, headers):
      File "/home/runner/work/github-to-sqlite/github-to-sqlite/github_to_sqlite/utils.py", line 478, in paginate
        raise GitHubError.from_response(response)
    github_to_sqlite.utils.GitHubError: ('API rate limit exceeded for user ID 9599.', 403)
    Error: Process completed with exit code 1.
    
  3. nedbat commented on Dec 8, 2023

    @nedbat
    Contributor

    Adding &per_page=100 would reduce the number of API requests by 3x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions