Skip to content

Conversation

jderusse
Copy link
Member

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

When 2 servers use the FixedWindowLimiter and do not have the exact same clock (with microsecond precision) the Window might return 0 available tokens.

@carsonbot carsonbot added this to the 5.3 milestone Nov 30, 2021
@carsonbot carsonbot changed the title Make RateLimiter resilient to timeShifting [RateLimiter] Make RateLimiter resilient to timeShifting Dec 2, 2021
@nicolas-grekas
Copy link
Member

Thank you @jderusse.

@nicolas-grekas nicolas-grekas merged commit 9b1dcc5 into symfony:5.3 Dec 15, 2021
This was referenced Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants