Skip to content

fix(http-ratelimiting): assert non-zero global limit - #2560

Open
vilgotf wants to merge 2 commits into
mainfrom
vilgotf/global-limit
Open

fix(http-ratelimiting): assert non-zero global limit#2560
vilgotf wants to merge 2 commits into
mainfrom
vilgotf/global-limit

Conversation

@vilgotf

@vilgotf vilgotf commented Jul 15, 2026

Copy link
Copy Markdown
Member

A global limit of 0 is invalid and broken. Panicking is another type of brokenness and is therefore not a breaking change.

@github-actions github-actions Bot added c-http-ratelimiting Affects the http ratelimiting crate t-fix Fixes a bug in the library labels Jul 15, 2026
Comment thread twilight-http-ratelimiting/src/lib.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c-http-ratelimiting Affects the http ratelimiting crate t-fix Fixes a bug in the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants