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)
59QueueLimit = 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)
50if (options.QueueLimit < 0) 52throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanOrEqual0, nameof(options.QueueLimit)), nameof(options)); 59QueueLimit = options.QueueLimit 144Debug.Assert(_options.QueueLimit >= _queueCount); 145if (_options.QueueLimit - _queueCount < permitCount) 147if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.QueueLimit) 175while (_options.QueueLimit - _queueCount < permitCount); 188Debug.Assert(_queueCount <= _options.QueueLimit);