6 references to MaximumConcurrentDashboardLookups
aspire (2)
Backchannel\TrayWatchStream.cs (2)
332
MaxDegreeOfParallelism =
MaximumConcurrentDashboardLookups
,
407
return _pendingDashboardLookups.Count <
MaximumConcurrentDashboardLookups
&& _pendingDashboardLookups.Add(connection);
Aspire.Cli.Tests (4)
Backchannel\TrayWatchStreamTests.cs (4)
577
if (count % TrayWatchStream.
MaximumConcurrentDashboardLookups
== 0)
595
Assert.Equal((second + 1) * TrayWatchStream.
MaximumConcurrentDashboardLookups
, await batches.Reader.ReadAsync().AsTask().DefaultTimeout());
604
Assert.InRange(calls, TrayWatchStream.
MaximumConcurrentDashboardLookups
, TrayCliProtocol.MaximumAppHosts - 1);
622
var blockedCount = saturateSlots ? TrayWatchStream.
MaximumConcurrentDashboardLookups
: 1;