mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Don't use a delivery interval when using the worker
This commit is contained in:
parent
0a2c161230
commit
7edce8e266
4 changed files with 13 additions and 1 deletions
|
@ -615,6 +615,10 @@ function notifier_run(&$argv, &$argc){
|
|||
|
||||
$interval = ((get_config('system','delivery_interval') === false) ? 2 : intval(get_config('system','delivery_interval')));
|
||||
|
||||
// If we are using the worker we don't need a delivery interval
|
||||
if (get_config("system", "worker"))
|
||||
$interval = false;
|
||||
|
||||
// delivery loop
|
||||
|
||||
if(count($r)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue