diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-20 21:17:03 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-20 21:17:03 +0200 |
commit | 1e3d74a9cfdaf708632a97660e1811dd819f7df4 (patch) | |
tree | b9de4dad6c4034219661e170f156b3ce76b069fe /tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php | |
parent | 576d285ddf1c9b4c78124b90fb902d0a57dd2a00 (diff) | |
download | wallabag-1e3d74a9cfdaf708632a97660e1811dd819f7df4.tar.gz wallabag-1e3d74a9cfdaf708632a97660e1811dd819f7df4.tar.zst wallabag-1e3d74a9cfdaf708632a97660e1811dd819f7df4.zip |
Avoid RabbitMQ consumer to loop
When the `parseEntry` returns null it means the entry already exists in the database. Sending `false` as return, will requeue the message which will then loop forever.
Diffstat (limited to 'tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php')
0 files changed, 0 insertions, 0 deletions