prometheus/cmd
Lucas Serven 70c8b2c63c
cmd/prometheus: buffer signal chans
According to the GoDoc for os.Signal [0]:

> Package signal will not block sending to c: the caller must ensure that
> c has sufficient buffer space to keep up with the expected signal rate.
> For a channel used for notification of just one signal value, a buffer
> of size 1 is sufficient.

[0] https://golang.org/pkg/os/signal/#Notify

Signed-off-by: Lucas Serven <lserven@gmail.com>
2018-11-14 10:33:28 +01:00
..
prometheus cmd/prometheus: buffer signal chans 2018-11-14 10:33:28 +01:00
promtool Merge pull request #3839 from brancz/remove-old-alert-record 2018-11-06 15:53:27 +01:00