Open robacarp opened 2 years ago
With the addition of metric check-ins in #118, the back-end has knowledge of the list of workers currently running. If the job run metadata is updated with the id of the worker when the job starts, later workers can easily check to see that worker has expired and emit a warning and reap the keys.
This happens when a long-running job is interrupted (ctrl-c style), or a job crashes so badly that mosquito itself crashes (a crystal runtime bug).
related to #21