31 references to OldestFirst
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\QueuePolicy.cs (1)
12
: base(options, QueueProcessingOrder.
OldestFirst
)
Microsoft.AspNetCore.RateLimiting.Tests (3)
RateLimitingMetricsTests.cs (2)
181
options.QueueProcessingOrder = QueueProcessingOrder.
OldestFirst
;
256
options.QueueProcessingOrder = QueueProcessingOrder.
OldestFirst
;
RateLimitingMiddlewareTests.cs (1)
226
options.QueueProcessingOrder = QueueProcessingOrder.
OldestFirst
;
Microsoft.Extensions.Http.Resilience.Tests (1)
Polly\HttpRateLimiterStrategyOptionsTests.cs (1)
28
_testObject.DefaultRateLimiterOptions.QueueProcessingOrder.Should().Be(QueueProcessingOrder.
OldestFirst
);
RateLimitingSample (2)
Program.cs (1)
29
options.QueueProcessingOrder = QueueProcessingOrder.
OldestFirst
;
SampleRateLimiterPolicy.cs (1)
31
QueueProcessingOrder = QueueProcessingOrder.
OldestFirst
,
System.Threading.RateLimiting (24)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (4)
252
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
261
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
275
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
340
RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
System\Threading\RateLimiting\ConcurrencyLimiterOptions.cs (2)
21
/// <see cref="QueueProcessingOrder.
OldestFirst
"/> by default.
23
public QueueProcessingOrder QueueProcessingOrder { get; set; } = QueueProcessingOrder.
OldestFirst
;
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (4)
314
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
323
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
332
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
397
RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
System\Threading\RateLimiting\FixedWindowRateLimiterOptions.cs (2)
36
/// <see cref="QueueProcessingOrder.
OldestFirst
"/> by default.
38
public QueueProcessingOrder QueueProcessingOrder { get; set; } = QueueProcessingOrder.
OldestFirst
;
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (4)
324
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
333
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
343
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
410
RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
System\Threading\RateLimiting\SlidingWindowRateLimiterOptions.cs (2)
42
/// <see cref="QueueProcessingOrder.
OldestFirst
"/> by default.
44
public QueueProcessingOrder QueueProcessingOrder { get; set; } = QueueProcessingOrder.
OldestFirst
;
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (4)
328
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
337
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
346
_options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
411
RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.
OldestFirst
System\Threading\RateLimiting\TokenBucketRateLimiterOptions.cs (2)
42
/// <see cref="QueueProcessingOrder.
OldestFirst
"/> by default.
44
public QueueProcessingOrder QueueProcessingOrder { get; set; } = QueueProcessingOrder.
OldestFirst
;