Revert "fix: set default sshMaxTimeout to 60s (#7532)" (#7544)

This reverts commit 049e557675.
This commit is contained in:
Marcin Tojek
2023-05-16 15:28:15 +02:00
committed by GitHub
parent c6055c64be
commit 97b4743a47
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ func (r *RootCmd) workspaceAgent() *clibase.Cmd {
},
{
Flag: "ssh-max-timeout",
Default: "60s",
Default: "0",
Env: "CODER_AGENT_SSH_MAX_TIMEOUT",
Description: "Specify the max timeout for a SSH connection.",
Value: clibase.DurationOf(&sshMaxTimeout),
+1 -1
View File
@@ -21,7 +21,7 @@ Starts the Coder workspace agent.
--prometheus-address string, $CODER_AGENT_PROMETHEUS_ADDRESS (default: 127.0.0.1:2112)
The bind address to serve Prometheus metrics.
--ssh-max-timeout duration, $CODER_AGENT_SSH_MAX_TIMEOUT (default: 60s)
--ssh-max-timeout duration, $CODER_AGENT_SSH_MAX_TIMEOUT (default: 0)
Specify the max timeout for a SSH connection.
--tailnet-listen-port int, $CODER_AGENT_TAILNET_LISTEN_PORT (default: 0)