Repository navigation
Conversation
The limiter's historical pass built its key without the DAILY/WEEKLY/MONTHLY prefix, so it trimmed the lifetime leaderboard of every field with historical stats to a tenth of its limit. Historical leaderboards were removed in #547, so that was the pass's only effect, and the declared limits overstated those leaderboards tenfold. - Drop the historical pass - Declare the sizes the leaderboards hold: fields with historical stats default to a tenth of the default limit, and their explicit limits are divided by ten - Keep exactly `limit` members on descending leaderboards (one was dropped) - Leave positions past the limit out of rankings (the check let limit + 1 through)
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This was referenced Oct 21, 2026
This was referenced Oct 30, 2026
|
Deployment failed for project statsify with the following error: Learn More: https://vercel.com/statsify-net?upgradeToPro=build-rate-limit |
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description: The leaderboard limiter's historical pass built its keys without the DAILY/WEEKLY/MONTHLY prefix, so every run trimmed each historical field's lifetime leaderboard to a tenth of its limit.
Merge order for the perf PRs is in #1002. This one goes last.
Testing:
pnpm --filter scripts limit-redison a local Redis keeps exactly each leaderboard's limit.