Browse Source

Merge pull request #2694 from tobiasd/20160728-quickfix

quickfix for worker delivery problems
pull/2695/head
Michael Vogel 5 years ago
committed by GitHub
parent
commit
89227813fc
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      boot.php

+ 7
- 3
boot.php View File

@ -1801,9 +1801,13 @@ function proc_run($cmd){
$priority = 2;
if (!$found)
q("INSERT INTO `workerqueue` (`function`, `parameter`, `created`, `priority`)
VALUES ('%s', '%s', '%s', %d)",
dbesc($funcname),
// quickfix for the delivery problems, 2106-07-28
/// @todo find better solution
//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(datetime_convert()),
intval($priority));


Loading…
Cancel
Save