mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-29 20:41:03 +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:
parent
2a4a861b34
commit
c8ac32cf17
2 changed files with 18 additions and 1 deletions
|
@ -80,7 +80,7 @@
|
||||||
"white-october/pagerfanta-bundle": "^1.0",
|
"white-october/pagerfanta-bundle": "^1.0",
|
||||||
"php-amqplib/rabbitmq-bundle": "^1.8",
|
"php-amqplib/rabbitmq-bundle": "^1.8",
|
||||||
"predis/predis": "^1.0",
|
"predis/predis": "^1.0",
|
||||||
"javibravo/simpleue": "^1.0",
|
"javibravo/simpleue": "^2.0",
|
||||||
"symfony/dom-crawler": "^3.1",
|
"symfony/dom-crawler": "^3.1",
|
||||||
"friendsofsymfony/jsrouting-bundle": "^1.6",
|
"friendsofsymfony/jsrouting-bundle": "^1.6",
|
||||||
"bdunogier/guzzle-site-authenticator": "^1.0.0@dev",
|
"bdunogier/guzzle-site-authenticator": "^1.0.0@dev",
|
||||||
|
|
|
@ -21,9 +21,26 @@ class RedisEntryConsumer extends AbstractConsumer implements Job
|
||||||
/**
|
/**
|
||||||
* Should tell if the given job will kill the worker.
|
* Should tell if the given job will kill the worker.
|
||||||
* We don't want to stop it :).
|
* We don't want to stop it :).
|
||||||
|
*
|
||||||
|
* @param string $job Content of the message (directly from Redis)
|
||||||
|
*
|
||||||
|
* @return false
|
||||||
*/
|
*/
|
||||||
public function isStopJob($job)
|
public function isStopJob($job)
|
||||||
{
|
{
|
||||||
return false;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue