pipeline_toolkit 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,8 +29,8 @@ module PipelineToolkit
|
|
29
29
|
number.times do
|
30
30
|
message = @mq.queue(queue).pop
|
31
31
|
sleep(0.1)
|
32
|
-
retry if message
|
33
|
-
received_msgs << MessageCoder.decode(message
|
32
|
+
retry if message[:payload] == :queue_empty
|
33
|
+
received_msgs << MessageCoder.decode(message[:payload])
|
34
34
|
end
|
35
35
|
end
|
36
36
|
received_msgs
|