5 references to _leases
Microsoft.AspNetCore.ConcurrencyLimiter (5)
QueuePolicies\BasePolicy.cs (5)
17
public int TotalRequests =>
_leases
.Count;
51
_leases
.Enqueue(lease);
61
_leases
.Enqueue(lease);
73
if (!
_leases
.TryDequeue(out var lease))
92
_leases
.Enqueue(lease);