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