3 writes to ErrorCount
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
335
retryContext.
ErrorCount
++;
368
retryContext.
ErrorCount
= 0;
493
retryContext.
ErrorCount
= 0;
4 references to ErrorCount
Aspire.Dashboard (4)
ServiceClient\DashboardClient.cs (4)
310
if (retryContext.
ErrorCount
> 0)
315
var delay = ExponentialBackOff(retryContext.
ErrorCount
, maxSeconds: 15);
337
_logger.LogError(ex, "Error #{ErrorCount} watching {WatchName}.", retryContext.
ErrorCount
, actionName);
359
var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.
ErrorCount
!= 0 }, headers: _headers, cancellationToken: cancellationToken);