You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [RateLimiting] TryReplenish handles multiple replenish periods at a time
* ignore tick on auto
* fixup
* partial
* allow TimeSpan.Zero
* no special case
* TimeSpan.Zero
* Apply suggestions from code review
Co-authored-by: Stephen Halter <[email protected]>
Co-authored-by: Brennan Conroy <[email protected]>
Co-authored-by: Stephen Halter <[email protected]>
Copy file name to clipboardExpand all lines: src/libraries/System.Threading.RateLimiting/src/System/Threading/RateLimiting/FixedWindowRateLimiterOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ public sealed class FixedWindowRateLimiterOptions
10
10
{
11
11
/// <summary>
12
12
/// Specifies the time window that takes in the requests.
13
-
/// Must be set to a value >= <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="FixedWindowRateLimiter"/>.
13
+
/// Must be set to a value greater than <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="FixedWindowRateLimiter"/>.
Copy file name to clipboardExpand all lines: src/libraries/System.Threading.RateLimiting/src/System/Threading/RateLimiting/SlidingWindowRateLimiterOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ public sealed class SlidingWindowRateLimiterOptions
10
10
{
11
11
/// <summary>
12
12
/// Specifies the minimum period between replenishments.
13
-
/// Must be set to a value >= <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="SlidingWindowRateLimiter"/>.
13
+
/// Must be set to a value greater than <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="SlidingWindowRateLimiter"/>.
// Trust the timer to be close enough to when we want to replenish, this avoids issues with Timer jitter where it might be .99 seconds instead of 1, and 1.1 seconds the next time etc.
Copy file name to clipboardExpand all lines: src/libraries/System.Threading.RateLimiting/src/System/Threading/RateLimiting/TokenBucketRateLimiterOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ public sealed class TokenBucketRateLimiterOptions
10
10
{
11
11
/// <summary>
12
12
/// Specifies the minimum period between replenishments.
13
-
/// Must be set to a value >= <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="TokenBucketRateLimiter"/>.
13
+
/// Must be set to a value greater than <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="TokenBucketRateLimiter"/>.
0 commit comments