3 writes to ErrorCount
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (3)
538retryContext.ErrorCount++; 578retryContext.ErrorCount = 0; 737retryContext.ErrorCount = 0;
6 references to ErrorCount
Aspire.Dashboard (6)
ServiceClient\DashboardClient.cs (6)
473if (retryContext.ErrorCount > 0) 482var delay = ExponentialBackOff(retryContext.ErrorCount, maxSeconds: 15); 540_logger.LogError(ex, "Error #{ErrorCount} watching {WatchName}. For troubleshooting, see {TroubleshootingUrl}", retryContext.ErrorCount, actionName, TroubleshootingUrl); 562var call = _client!.WatchResources(new WatchResourcesRequest { IsReconnect = retryContext.ErrorCount != 0 }, headers: _headers, cancellationToken: cancellationToken); 576if (retryContext.ErrorCount > 0) 735if (retryContext.ErrorCount > 0)