Description
I've upgraded to 0.6 couple of days ago and I'm seeing a regression in AmqpConsumer::receiveBasicGet
basically, it will only receive one message per timeout, for some reason.
Say I have say 10 messages in a queue, it will only receive the first one and stall, reach timeout, retry and then receive another. I've added some debug statements in the while()
loop and after usleep()
, it will go like:
message
............ # outputing a single dot every while iteration
<timeout>
message
............ # outputing a single dot every while iteration
<timeout>
No matter how many messages there are ready to process in the queue. If I set $timeout = 1
to the top of the method, everything works as expected so it shouldn't be related to my processors being slow or hanging.
I've cleared my RabbitMQ Docker volume to avoid any possible misconfiguration between 0.5 and 0.6, it did not help. Using ext/amqp 1.9.0 (which I also used on 0.5).