chore: update default timeout to 10 minutes

This commit is contained in:
Bo-Yi Wu 2019-11-30 22:40:13 +08:00
parent 9b57f85e47
commit 8d0b62974a
2 changed files with 3 additions and 3 deletions

View File

@ -189,10 +189,10 @@ script_stop
: stop script after first failure
timeout
: Timeout is the maximum amount of time for the TCP connection to establish.
: Timeout is the maximum amount of time for the ssh connection to establish, default is 30 seconds.
command_timeout
: Command timeout is the maximum amount of time for the execute commands, default is 60 secs.
: Command timeout is the maximum amount of time for the execute commands, default is 10 minutes.
proxy_host
: proxy hostname or IP

View File

@ -80,7 +80,7 @@ func main() {
Name: "command.timeout,T",
Usage: "command timeout",
EnvVar: "PLUGIN_COMMAND_TIMEOUT,SSH_COMMAND_TIMEOUT,COMMAND_TIMEOUT,INPUT_COMMAND_TIMEOUT",
Value: 60 * time.Second,
Value: 10 * time.Minute,
},
cli.StringSliceFlag{
Name: "script,s",