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