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

New middleware example breaking acks to handler #417

Closed jdlombardozzi closed 4 years ago

jdlombardozzi commented 4 years ago

I think we need to update the example DemoMiddleware in middleware_worker.rb. In this example, the middleware doesn't return worker result and will always result in a noop call to the handler.