3 writes to ErrorCount
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
542retryContext.ErrorCount++; 582retryContext.ErrorCount = 0; 741retryContext.ErrorCount = 0;
6 references to ErrorCount
Aspire.Dashboard (6)
ServiceClient\DashboardClient.cs (6)
477if (retryContext.ErrorCount > 0) 486var delay = ExponentialBackOff(retryContext.ErrorCount, maxSeconds: 15); 544_logger.LogError(ex, "Error #{ErrorCount} watching {WatchName}. For troubleshooting, see {TroubleshootingUrl}", retryContext.ErrorCount, actionName, TroubleshootingUrl); 566var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.ErrorCount != 0 }, headers: _headers, cancellationToken: cancellationToken); 580if (retryContext.ErrorCount > 0) 739if (retryContext.ErrorCount > 0)