3 writes to ErrorCount
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
581retryContext.ErrorCount++; 624retryContext.ErrorCount = 0; 785retryContext.ErrorCount = 0;
6 references to ErrorCount
Aspire.Dashboard (6)
ServiceClient\DashboardClient.cs (6)
516if (retryContext.ErrorCount > 0) 525var delay = ExponentialBackOff(retryContext.ErrorCount, maxSeconds: 15); 583_logger.LogError(ex, "Error #{ErrorCount} watching {WatchName}. For troubleshooting, see {TroubleshootingUrl}", retryContext.ErrorCount, actionName, TroubleshootingUrl); 607var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.ErrorCount != 0 }, headers: _headers, cancellationToken: cancellationToken); 622if (retryContext.ErrorCount > 0) 783if (retryContext.ErrorCount > 0)