0.6.0
-
FIXED: Issue #1 Memory leak when running a Consumer process
The Consumer will now trigger the php garbage collector every few iterations of themaybeStopConsumermethod.
This should avoid the known memory leaks in the AWS SDK from blowing up your server.
As is tradition in php, the frequency with which the garbage collection is triggered is configured via a percentage setting. -
FIXED: Issue #2 consume() method does not respect the $amount parameter and returns immediately if there are no messages
The Consumer did not wait to receive 10 messages whenconsumer(10, 0)was called and there were fewer than 10 messages in the queue.