Skip to content

Commit

Permalink
buffer notifier channel (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto authored and mattdurham committed Jul 22, 2021
1 parent 31bc627 commit fc2656a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/agent/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (ep *Entrypoint) Start() error {
// signal is received.
signalHandler := signals.NewHandler(ep.cfg.Server.Log)

notifier := make(chan os.Signal)
notifier := make(chan os.Signal, 1)
signal.Notify(notifier, syscall.SIGHUP)

defer func() {
Expand Down

0 comments on commit fc2656a

Please sign in to comment.