Skip to content

Conversation

@epmattm
Copy link

@epmattm epmattm commented May 25, 2022

We noticed a bug in the calculation in the Throttling path here. When running on a non-utc server, the ToLocalTime incorrectly set a unix timestamp (UTC based) as a local time, causing the ticks value to be incorrect. In our case NZ, the ticks would be in the future.

Also added TTL to keys, that expires after the bucket would have been completely refilled.

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.

1 participant