Commit d02c657
authored
Consumer receive should only fetch one message
When looping the worker->work() call, the receive method will fetch all messages in the queue, but only return the last one.
The fix will return only one message.1 parent 93cfb73 commit d02c657
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments