iron-io / iron_mq_php

PHP client for IronMQ.
www.iron.io
BSD 2-Clause "Simplified" License
89 stars 43 forks source link

Get Messages from a Queue: Enabling Long Polling using the 'wait' parameter #39

Closed ingluisjimenez closed 10 years ago

ingluisjimenez commented 10 years ago

This would allow both getMessage() and getMessages() to receive an integer wait parameter which will enable Long Polling on the Queue up to 30 seconds.

thousandsofthem commented 10 years ago

looks good. thanks @ingluisjimenez . Could you add new param to method declaration comment as well?

ingluisjimenez commented 10 years ago

Ups, I forgot that one. I also updated the README.md documentation.

thousandsofthem commented 10 years ago

yay!

ingluisjimenez commented 10 years ago

Thanks for merging it in. Is there any schedule for release v1.5.2?

thousandsofthem commented 10 years ago

Will do in a few minutes

ingluisjimenez commented 10 years ago

Perfect, thanks.