Skip to content

Stricter rate-limits for many endpoints#1043

Merged
Toastbrot236 merged 9 commits intoLittleBigRefresh:mainfrom
Toastbrot236:rate-limit-2
Mar 9, 2026
Merged

Stricter rate-limits for many endpoints#1043
Toastbrot236 merged 9 commits intoLittleBigRefresh:mainfrom
Toastbrot236:rate-limit-2

Conversation

@Toastbrot236
Copy link
Contributor

This PR assigns "unique" rate-limit settings to many game and API endpoints, making certain endpoints have stricter limits than others. Most of these settings are stored in their own classes so multiple endpoint classes could share them, and to organize them more clearly. Not all rate-limit settings are in their own classes yet. The global rate-limit is also slightly stricter for now.

Not all settings are properly tested yet. Some may, in reality, be too strict or too loose; they are experimental.

@Toastbrot236
Copy link
Contributor Author

Seems to work fine for the mainline games and refresh-web...

@Toastbrot236
Copy link
Contributor Author

Some params are stored all over the place, but that can be taken care of later.

@Toastbrot236 Toastbrot236 merged commit 595ecdf into LittleBigRefresh:main Mar 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant