7 references to CreateQueuePolicy
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (7)
PolicyTests\QueuePolicyTests.cs (5)
13using var s = TestUtils.CreateQueuePolicy(2); 28using var s = TestUtils.CreateQueuePolicy(1); 41using var s = TestUtils.CreateQueuePolicy(2, 1); 64using var s1 = TestUtils.CreateQueuePolicy(1); 65using var s2 = TestUtils.CreateQueuePolicy(1);
TestUtils.cs (2)
23queue: queue ?? CreateQueuePolicy(1, 0), 31queue: CreateQueuePolicy(maxConcurrentRequests, requestQueueLimit),