fiaisis / run-detection

The way we detect when our system for reduction should automatically perform a reduction and with what arguments we should do that.
GNU General Public License v3.0
1 stars 1 forks source link

Add graceful shutdown #26

Closed keiranjprice101 closed 2 months ago

keiranjprice101 commented 1 year ago

Implement a graceful shutdown. The key things to make sure is, any active messages are not ack'd or specifically ack'd, and that the queue connections are closed.

Ensuring that any exception if it would otherwise cause the program to close, crash, stop etc. will first of all close the stomp connection to ActiveMQ.

Pasarus commented 1 year ago

Might be a problem with memphis, do a quick investigation.