aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-20 21:17:03 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-20 21:17:03 +0200
commit1e3d74a9cfdaf708632a97660e1811dd819f7df4 (patch)
treeb9de4dad6c4034219661e170f156b3ce76b069fe /tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php
parent576d285ddf1c9b4c78124b90fb902d0a57dd2a00 (diff)
downloadwallabag-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