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 Jul 15, 2021
1 parent 3bdf590 commit 9e8fb3b
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 9e8fb3b

Please sign in to comment.