chaoss / chaoss/CollectOSS

Improve ratelimit exception handling

Open
#53 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13
Forks
17
Avg merge
6h 59m
Merged PRs (30d)
1

Description

> [!NOTE]
> Migrated from [augurlabs/augur#3037](https://github.com/augurlabs/augur/issues/3037)
> Originally opened by `@ABrain7710` on 2025-03-05

---

* Raise SecordaryRateLimitException and handle it separately from regular rate limit exception
* Sleep 5 seconds longer than the retry after
* Log when retry after header or rate limit header are not set

Contributor guide

Open the contributing guide

Research direction

Start by locating the rate-limit exception definitions and the retry handling that reads the Retry-After and rate-limit headers. Check the existing tests around retries, then verify that secondary limits are handled separately, retries sleep five seconds beyond the header value, and missing headers are logged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.