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)
149
if (_options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
&& permitCount <= _options.QueueLimit)
213
if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
))
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (2)
166
if (_options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
&& permitCount <= _options.QueueLimit)
239
if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
))
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (2)
178
if (_options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
&& permitCount <= _options.QueueLimit)
242
if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
))
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (2)
171
if (_options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
&& tokenCount <= _options.QueueLimit)
246
if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.
NewestFirst
))