3 references to TokenBucketLease
System.Threading.RateLimiting (3)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (3)
33private static readonly RateLimitLease SuccessfulLease = new TokenBucketLease(true, null); 34private static readonly RateLimitLease FailedLease = new TokenBucketLease(false, null); 225return new TokenBucketLease(false, TimeSpan.FromTicks(_options.ReplenishmentPeriod.Ticks * replenishPeriods));