jondot / sneakers

A fast background processing framework for Ruby and RabbitMQ
https://github.com/jondot/sneakers
MIT License
2.24k stars 333 forks source link

ref: Stop any worker if the hook raise an error #464

Open Roriz opened 1 year ago

Roriz commented 1 year ago

Problem

This PR should resolve with an opinative solution for the issue: https://github.com/jondot/sneakers/issues/463

Still peding

michaelklishin commented 1 year ago

Hooks are often provided by external services that will in practice fail from time to time. I doubt everyone would want their workers to just stop in such case.