Skip to content

Commit

Permalink
Merge pull request #3121 from hashicorp/increase-graceful-timeout
Browse files Browse the repository at this point in the history
agent: increase graceful shutdown timeout
  • Loading branch information
slackpad authored Jun 7, 2017
2 parents 8ffa0e7 + fe69de3 commit a09eed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a09eed5

Please sign in to comment.