Closed alilland closed 1 year ago
According to the screenshot, there are 10 delivered but unacknowledged messages. Most likely the prefetch value used is 10 and no deliveries were acknowledged.
That's the best hypothesis I have without a traffic capture and RabbitMQ logs.
Could it be the problem that ack!
should be the last call in the work
method? Because ack!
just returns a symbol that is used later to decide if the processing was successful 🤔
https://github.com/jondot/sneakers/blob/v2.12.0/lib/sneakers/worker.rb#L33 https://github.com/jondot/sneakers/blob/v2.12.0/lib/sneakers/worker.rb#L84
Im having some strange behavior,
I installed sneakers on a ruby app, I have about 10 other apps with the same code which are not experiencing this issue
an
ack!
should be sent under all circumstances, but after around 10 messages it appears my worker is not even receiving anything to work off. The message just sits "ready" forever