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
|
|
@ -39,7 +39,7 @@ function poller_run(&$argv, &$argc){
|
|||
|
||||
} else
|
||||
// Sleep two seconds before checking for running processes to avoid having too many workers
|
||||
sleep(2);
|
||||
sleep(4);
|
||||
|
||||
// Checking number of workers
|
||||
$workers = q("SELECT COUNT(*) AS `workers` FROM `workerqueue` WHERE `executed` != '0000-00-00 00:00:00'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue