1
1
Fork 0

Don't use a delivery interval when using the worker

This commit is contained in:
Michael Vogel 2015-09-12 18:08:03 +02:00
commit 7edce8e266
4 changed files with 13 additions and 1 deletions

View file

@ -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'");