3 writes to ErrorCount
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
542
retryContext.
ErrorCount
++;
582
retryContext.
ErrorCount
= 0;
741
retryContext.
ErrorCount
= 0;
6 references to ErrorCount
Aspire.Dashboard (6)
ServiceClient\DashboardClient.cs (6)
477
if (retryContext.
ErrorCount
> 0)
486
var delay = ExponentialBackOff(retryContext.
ErrorCount
, maxSeconds: 15);
544
_logger.LogError(ex, "Error #{ErrorCount} watching {WatchName}. For troubleshooting, see {TroubleshootingUrl}", retryContext.
ErrorCount
, actionName, TroubleshootingUrl);
566
var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.
ErrorCount
!= 0 }, headers: _headers, cancellationToken: cancellationToken);
580
if (retryContext.
ErrorCount
> 0)
739
if (retryContext.
ErrorCount
> 0)