honest/banter — pull request #32 by honest-thanh (2014-09-23 17:42:16+00:00)
Title: ERP-339

Needed to get rid of the .on_delivery() assignment and put it as part of the lambda on subscribe. Otherwise, bunny just delivers the message and there is never acknowledgement because the lambda isn't set in time, and a race condition ensues.

Bunny documentation says you can use on_delivery, but it looks like it has issues on restart.