Skip to content

Graceful retry after API errors #245

@stigok

Description

@stigok

If the GitHub credentials are invalid, the API will be spammed with requests until it will succeed again. That will probably never happen.

s	{"err": [{"error": "GET https://api.github.com/rate_limit: 401 Bad credentials []"}]}
1.7095442091525905e+09	warn	github store	github/github.go:247	failed to get rate limit status	{"err": [{"error": "GET https://api.github.com/rate_limit: 401 Bad credentials []"}]}
1.7095442091993673e+09	warn	github store	github/github.go:247	failed to get rate limit status	{"err": [{"error": "GET https://api.github.com/rate_limit: 401 Bad credentials []"}]}
1.7095442092015991e+09	warn	github store	github/github.go:247	failed to get rate limit status	{"err": [{"error": "GET https://api.github.com/rate_limit: 401 Bad credentials []"}]}
1.7095442092082374e+09	warn	github store	github/github.go:247	failed to get rate limit status	{"err": [{"error": "GET https://api.github.com/rate_limit: 401 Bad credentials []"}]}
1.7095442092203035e+09	warn	github store	github/github.go:247	failed to get rate limit status	{"err": [{"error": "GET https://api.github.com/rate_limit: 401 Bad credentials []"}]}

This might just be the rate limit checker

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions