3 writes to ErrorCount
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
581
retryContext.
ErrorCount
++;
624
retryContext.
ErrorCount
= 0;
785
retryContext.
ErrorCount
= 0;
6 references to ErrorCount
Aspire.Dashboard (6)
ServiceClient\DashboardClient.cs (6)
516
if (retryContext.
ErrorCount
> 0)
525
var delay = ExponentialBackOff(retryContext.
ErrorCount
, maxSeconds: 15);
583
_logger.LogError(ex, "Error #{ErrorCount} watching {WatchName}. For troubleshooting, see {TroubleshootingUrl}", retryContext.
ErrorCount
, actionName, TroubleshootingUrl);
607
var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.
ErrorCount
!= 0 }, headers: _headers, cancellationToken: cancellationToken);
622
if (retryContext.
ErrorCount
> 0)
783
if (retryContext.
ErrorCount
> 0)