3 instantiations of 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); 226return new TokenBucketLease(false, TimeSpan.FromTicks(_options.ReplenishmentPeriod.Ticks * replenishPeriods));
1 reference to TokenBucketLease
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
218private TokenBucketLease CreateFailedTokenLease(int tokenCount)