Merge pull request #2694 from tobiasd/20160728-quickfix
quickfix for worker delivery problems
This commit is contained in:
commit
89227813fc
10
boot.php
10
boot.php
|
@ -1801,9 +1801,13 @@ function proc_run($cmd){
|
||||||
$priority = 2;
|
$priority = 2;
|
||||||
|
|
||||||
if (!$found)
|
if (!$found)
|
||||||
q("INSERT INTO `workerqueue` (`function`, `parameter`, `created`, `priority`)
|
// quickfix for the delivery problems, 2106-07-28
|
||||||
VALUES ('%s', '%s', '%s', %d)",
|
/// @todo find better solution
|
||||||
dbesc($funcname),
|
//q("INSERT INTO `workerqueue` (`function`, `parameter`, `created`, `priority`)
|
||||||
|
// VALUES ('%s', '%s', '%s', %d)",
|
||||||
|
// dbesc($funcname),
|
||||||
|
q("INSERT INTO `workerqueue` (`parameter`, `created`, `priority`)
|
||||||
|
VALUES ('%s', '%s', %d)",
|
||||||
dbesc($parameters),
|
dbesc($parameters),
|
||||||
dbesc(datetime_convert()),
|
dbesc(datetime_convert()),
|
||||||
intval($priority));
|
intval($priority));
|
||||||
|
|
Loading…
Reference in a new issue