Commit cbf17569 authored by Erick Hitter's avatar Erick Hitter
Browse files

Workers should never exit, so die rather than continue in unexpected state

parent 70bec418
......@@ -110,8 +110,8 @@ func spawnEventWorkers(queue chan Event) {
close(workerEvents)
time.Sleep(runEventsBreak)
go spawnEventWorkers(queue)
logger.Println("Event workers died, exiting")
os.Exit(1)
}
func keepAlive() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment