Ringloop / mr-plow

Minimal memory usage, cloud native logstash alternative
Apache License 2.0
28 stars 3 forks source link

Exiting signal priority #48

Closed DarioBalinzo closed 2 years ago

DarioBalinzo commented 2 years ago

In the scheduler.go the exit message should have more priority than the periodic tick message received for each polling interval. Now the two messages are received in a non deterministic way, so the tool sometimes is not exiting when you hit ctrl +c.