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)
73
while (attempts <
_maxCliAttempts
)
78
logger?.LogTrace("Attempt {Attempt} of {MaxAttempts} to create dev tunnel '{TunnelId}'", attempts,
_maxCliAttempts
, tunnelId);
145
logger?.LogError("Failed to create dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", tunnelId, attempts,
_maxCliAttempts
, exitCode, error);
146
if (attempts <
_maxCliAttempts
)
182
while (attempts <
_maxCliAttempts
)
187
logger?.LogTrace("Attempt {Attempt} of {MaxAttempts} to create port '{PortNumber}' on dev tunnel '{TunnelId}'", attempts,
_maxCliAttempts
, portNumber, tunnelId);
233
logger?.LogError("Failed to create port '{PortNumber}' for dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", portNumber, tunnelId, attempts,
_maxCliAttempts
, exitCode, error);
234
if (attempts <
_maxCliAttempts
)