Skip to content

Fix an issue where time can overflow#59

Merged
sethvargo merged 1 commit intomainfrom
sethvargo/racetime
Nov 17, 2025
Merged

Fix an issue where time can overflow#59
sethvargo merged 1 commit intomainfrom
sethvargo/racetime

Conversation

@sethvargo
Copy link
Owner

This fixes an issue where time can overflow when the server clock is reset, causing more-than-expected keys to be purged. This can occur when a token is taken from the bucket after the time has been calculated AND the server time has changed between those buckets.

Fixes #57

/cc @btscottamzn

This fixes an issue where time can overflow when the server clock is reset, causing more-than-expected keys to be purged. This can occur when a token is taken from the bucket after the time has been calculated AND the server time has changed between those buckets.

Fixes #57
@sethvargo sethvargo merged commit 283e2b5 into main Nov 17, 2025
10 checks passed
@sethvargo sethvargo deleted the sethvargo/racetime branch November 17, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible issue in memory store purging

1 participant