alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

Improve actor lifecycle / shutdown management in main.go

Open juliusv opened this issue 3 years ago • 0 comments

See https://github.com/prometheus/alertmanager/pull/2897#pullrequestreview-959181763. There are currently some actors / goroutines that are shut down upon exit via the stopc channel, but some others (like mem.Alerts) are shut down differently, and yet others (like the Dispatcher) aren't shut down properly at all. This could be made more consistent.

juliusv avatar May 02 '22 20:05 juliusv