Merge pull request #3121 from hashicorp/increase-graceful-timeout

agent: increase graceful shutdown timeout
This commit is contained in:
James Phillips 2017-06-07 10:42:19 -07:00 committed by GitHub
commit a09eed585e
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,7 @@ func (cmd *Command) Run(args []string) int {
close(gracefulCh) close(gracefulCh)
}() }()
gracefulTimeout := 5 * time.Second gracefulTimeout := 15 * time.Second
select { select {
case <-signalCh: case <-signalCh:
cmd.UI.Output(fmt.Sprintf("Caught second signal: %v. Exiting", sig)) cmd.UI.Output(fmt.Sprintf("Caught second signal: %v. Exiting", sig))