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