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