3 writes to ErrorCount
Aspire.Dashboard (3)
ResourceService\DashboardClient.cs (3)
315
retryContext.
ErrorCount
++;
338
retryContext.
ErrorCount
= 0;
444
retryContext.
ErrorCount
= 0;
4 references to ErrorCount
Aspire.Dashboard (4)
ResourceService\DashboardClient.cs (4)
293
if (retryContext.
ErrorCount
> 0)
298
var delay = ExponentialBackOff(retryContext.
ErrorCount
, maxSeconds: 15);
317
_logger.LogError(ex, "Error #{ErrorCount} watching resources.", retryContext.
ErrorCount
);
329
var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.
ErrorCount
!= 0 }, headers: _headers, cancellationToken: cancellationToken);