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