aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-11-18 16:28:54 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-11-18 16:28:54 +0100
commitc8ac32cf171b60e8e496bbaf781cbf309bd1e04c (patch)
tree4927769fd04e649fa61cbe2da7e556f68d2d6a20 /src
parent2a4a861b34b8ada5561345621c06ddb969303275 (diff)
downloadwallabag-c8ac32cf171b60e8e496bbaf781cbf309bd1e04c.tar.gz
wallabag-c8ac32cf171b60e8e496bbaf781cbf309bd1e04c.tar.zst
wallabag-c8ac32cf171b60e8e496bbaf781cbf309bd1e04c.zip
Jump to Simpleue 2.0
The 1.3.0 tag is introducing BC so we jump to the 2.0
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/ImportBundle/Consumer/RedisEntryConsumer.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Consumer/RedisEntryConsumer.php b/src/Wallabag/ImportBundle/Consumer/RedisEntryConsumer.php
index 450b71ff..862d0c43 100644
--- a/src/Wallabag/ImportBundle/Consumer/RedisEntryConsumer.php
+++ b/src/Wallabag/ImportBundle/Consumer/RedisEntryConsumer.php
@@ -21,9 +21,26 @@ class RedisEntryConsumer extends AbstractConsumer implements Job
21 /** 21 /**
22 * Should tell if the given job will kill the worker. 22 * Should tell if the given job will kill the worker.
23 * We don't want to stop it :). 23 * We don't want to stop it :).
24 *
25 * @param string $job Content of the message (directly from Redis)
26 *
27 * @return false
24 */ 28 */
25 public function isStopJob($job) 29 public function isStopJob($job)
26 { 30 {
27 return false; 31 return false;
28 } 32 }
33
34 /**
35 * This abstract method is only used when we use one queue for multiple job type.
36 * We don't do that, so we'll always return true.
37 *
38 * @param string $job Content of the message (directly from Redis)
39 *
40 * @return true
41 */
42 public function isMyJob($job)
43 {
44 return true;
45 }
29} 46}