3 writes to ErrorCount
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
334retryContext.ErrorCount++; 357retryContext.ErrorCount = 0; 473retryContext.ErrorCount = 0;
4 references to ErrorCount
Aspire.Dashboard (4)
ServiceClient\DashboardClient.cs (4)
309if (retryContext.ErrorCount > 0) 314var delay = ExponentialBackOff(retryContext.ErrorCount, maxSeconds: 15); 336_logger.LogError(ex, "Error #{ErrorCount} watching resources.", retryContext.ErrorCount); 348var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.ErrorCount != 0 }, headers: _headers, cancellationToken: cancellationToken);