1 write to _maxCliAttempts
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
28_maxCliAttempts = configuration.GetValue<int?>("ASPIRE_DEVTUNNEL_CLI_MAX_ATTEMPTS") ?? 3;
8 references to _maxCliAttempts
Aspire.Hosting.DevTunnels (8)
DevTunnelCliClient.cs (8)
73while (attempts < _maxCliAttempts) 78logger?.LogTrace("Attempt {Attempt} of {MaxAttempts} to create dev tunnel '{TunnelId}'", attempts, _maxCliAttempts, tunnelId); 145logger?.LogError("Failed to create dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", tunnelId, attempts, _maxCliAttempts, exitCode, error); 146if (attempts < _maxCliAttempts) 182while (attempts < _maxCliAttempts) 187logger?.LogTrace("Attempt {Attempt} of {MaxAttempts} to create port '{PortNumber}' on dev tunnel '{TunnelId}'", attempts, _maxCliAttempts, portNumber, tunnelId); 233logger?.LogError("Failed to create port '{PortNumber}' for dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", portNumber, tunnelId, attempts, _maxCliAttempts, exitCode, error); 234if (attempts < _maxCliAttempts)