mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-12 17:19:52 +00:00
cmd/alertmanager: use buffered channel for signal
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
72e6720bea
commit
dae389f058
@ -414,7 +414,7 @@ func main() {
|
||||
go listen(*listenAddress, router, apiV2.Handler, logger)
|
||||
|
||||
var (
|
||||
hup = make(chan os.Signal)
|
||||
hup = make(chan os.Signal, 1)
|
||||
hupReady = make(chan bool)
|
||||
term = make(chan os.Signal, 1)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user