mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:40:16 +00:00
Recurring had been executed only once - and then never again
This commit is contained in:
parent
b000012bc3
commit
ceaa191d8c
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1090,7 +1090,7 @@ function proc_run($cmd) {
|
||||||
array_shift($argv);
|
array_shift($argv);
|
||||||
|
|
||||||
$parameters = json_encode($argv);
|
$parameters = json_encode($argv);
|
||||||
$found = dba::select('workerqueue', array('id'), array('parameter' => $parameters), array('limit' => 1));
|
$found = dba::select('workerqueue', array('id'), array('parameter' => $parameters, 'done' => false), array('limit' => 1));
|
||||||
|
|
||||||
if (!dbm::is_result($found)) {
|
if (!dbm::is_result($found)) {
|
||||||
dba::insert('workerqueue', array('parameter' => $parameters, 'created' => $created, 'priority' => $priority));
|
dba::insert('workerqueue', array('parameter' => $parameters, 'created' => $created, 'priority' => $priority));
|
||||||
|
|
Loading…
Reference in a new issue