2 references to TickFrequency
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (2)
38public override TimeSpan? IdleDuration => _idleSince is null ? null : new TimeSpan((long)((Stopwatch.GetTimestamp() - _idleSince) * TickFrequency)); 315add = _fillRate * (nowTicks - _lastReplenishmentTick) * TickFrequency;