3 references to FixedWindowLease
System.Threading.RateLimiting (3)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (3)
31
private static readonly RateLimitLease SuccessfulLease = new
FixedWindowLease
(true, null);
32
private static readonly RateLimitLease FailedLease = new
FixedWindowLease
(false, null);
218
return new
FixedWindowLease
(false, TimeSpan.FromTicks(_options.Window.Ticks * replenishWindow));