-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add RL non-generic fixed window, sliding window implementations #68087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RL non-generic fixed window, sliding window implementations #68087
Conversation
|
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
|
Tagging subscribers to this area: @mangod9 Issue DetailsFixes: dotnet/aspnetcore#37381 ** Updating this PR with comments and test cases.
|
f20f4a9 to
8ad696c
Compare
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
...em.Threading.RateLimiting/src/System/Threading/RateLimiting/FixedWindowRateLimiterOptions.cs
Outdated
Show resolved
Hide resolved
5add2b3 to
601f6fd
Compare
...em.Threading.RateLimiting/src/System/Threading/RateLimiting/FixedWindowRateLimiterOptions.cs
Outdated
Show resolved
Hide resolved
...em.Threading.RateLimiting/src/System/Threading/RateLimiting/FixedWindowRateLimiterOptions.cs
Outdated
Show resolved
Hide resolved
...es/System.Threading.RateLimiting/src/System/Threading/RateLimiting/FixedWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
...es/System.Threading.RateLimiting/src/System/Threading/RateLimiting/FixedWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
....Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiterOptions.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
953b529 to
6c3f70a
Compare
|
I think the ref file needs to be updated. |
src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Threading.RateLimiting/ref/System.Threading.RateLimiting.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Threading.RateLimiting/tests/SlidingWindowRateLimiterTests.cs
Outdated
Show resolved
Hide resolved
4cb332f to
e825bd1
Compare
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
218b8dc to
d368ecd
Compare
049e500 to
a1f8d68
Compare
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Threading.RateLimiting/tests/SlidingWindowRateLimiterTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Threading.RateLimiting/tests/SlidingWindowRateLimiterTests.cs
Outdated
Show resolved
Hide resolved
.../System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiter.cs
Outdated
Show resolved
Hide resolved
a1f8d68 to
12de257
Compare
12de257 to
743ca69
Compare
743ca69 to
5a10be2
Compare
…eate (#68695) * Add RL non-generic fixed window, sliding window implementations (#68087) * Add initial impl of PartitionedRateLimiter.Create (#67677) Co-authored-by: Shreya Verma <[email protected]>
Fixes: dotnet/aspnetcore#37381
** Updating this PR with comments and test cases.