1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-27 17:28:39 +00:00

Jump to Simpleue 2.0

The 1.3.0 tag is introducing BC so we jump to the 2.0
This commit is contained in:
Jeremy Benoist 2017-11-18 16:28:54 +01:00
parent 2a4a861b34
commit c8ac32cf17
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 18 additions and 1 deletions

View file

@ -21,9 +21,26 @@ class RedisEntryConsumer extends AbstractConsumer implements Job
/**
* Should tell if the given job will kill the worker.
* We don't want to stop it :).
*
* @param string $job Content of the message (directly from Redis)
*
* @return false
*/
public function isStopJob($job)
{
return false;
}
/**
* This abstract method is only used when we use one queue for multiple job type.
* We don't do that, so we'll always return true.
*
* @param string $job Content of the message (directly from Redis)
*
* @return true
*/
public function isMyJob($job)
{
return true;
}
}