bullet-train-pro / bullet_train-action_models

Other
5 stars 1 forks source link

Allow action models to be canceled without being destroyed. #66

Open andrewculver opened 1 year ago

andrewculver commented 1 year ago

This will ensure that jobs that are actively processing will stop. It's a little slower, because you have to reload the record before each record is processed.

Stretch goal is to make the "cancel" action actually use the sidekiq_jid to send a message killing the job directly. However, we need to test this really well to make sure it stops jobs reliably.