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)
61QueueLimit = 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)
52if (options.QueueLimit < 0) 54throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanOrEqual0, nameof(options.QueueLimit)), nameof(options)); 61QueueLimit = options.QueueLimit 146Debug.Assert(_options.QueueLimit >= _queueCount); 147if (_options.QueueLimit - _queueCount < permitCount) 149if (_options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst && permitCount <= _options.QueueLimit) 177while (_options.QueueLimit - _queueCount < permitCount); 190Debug.Assert(_queueCount <= _options.QueueLimit);