10 references to NewestFirst
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\StackPolicy.cs (1)
12: base(options, QueueProcessingOrder.NewestFirst)
RateLimitingSample (1)
Program.cs (1)
42QueueProcessingOrder = QueueProcessingOrder.NewestFirst,
System.Threading.RateLimiting (8)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (2)
147if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.QueueLimit) 211if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (2)
165if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.QueueLimit) 238if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (2)
177if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.QueueLimit) 241if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (2)
170if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && tokenCount <= _options.QueueLimit) 245if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))