5 writes to QueueLimit
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\BasePolicy.cs (1)
39QueueLimit = requestQueueLimit
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimitingMetricsTests.cs (2)
182options.QueueLimit = 1; 257options.QueueLimit = 1;
RateLimitingSample (1)
Program.cs (1)
43QueueLimit = 5
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (1)
56QueueLimit = options.QueueLimit
9 references to QueueLimit
Microsoft.Extensions.Http.Resilience.Tests (1)
Polly\HttpRateLimiterStrategyOptionsTests.cs (1)
26_testObject.DefaultRateLimiterOptions.QueueLimit.Should().Be(0);
System.Threading.RateLimiting (8)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (8)
47if (options.QueueLimit < 0) 49throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanOrEqual0, nameof(options.QueueLimit)), nameof(options)); 56QueueLimit = options.QueueLimit 141Debug.Assert(_options.QueueLimit >= _queueCount); 142if (_options.QueueLimit - _queueCount < permitCount) 144if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.QueueLimit) 172while (_options.QueueLimit - _queueCount < permitCount); 185Debug.Assert(_queueCount <= _options.QueueLimit);