mirror of https://github.com/status-im/consul.git
Merge pull request #3121 from hashicorp/increase-graceful-timeout
agent: increase graceful shutdown timeout
This commit is contained in:
commit
a09eed585e
|
@ -814,7 +814,7 @@ func (cmd *Command) Run(args []string) int {
|
|||
close(gracefulCh)
|
||||
}()
|
||||
|
||||
gracefulTimeout := 5 * time.Second
|
||||
gracefulTimeout := 15 * time.Second
|
||||
select {
|
||||
case <-signalCh:
|
||||
cmd.UI.Output(fmt.Sprintf("Caught second signal: %v. Exiting", sig))
|
||||
|
|
Loading…
Reference in New Issue