X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fpoller.php;h=44f4895cdbda1991d9d12d1c0e59dee33b055eab;hb=de689583e2741a2caee0e266a19a07d1ad4ed043;hp=b3a66fc389d467476db31c16d36eebb53454fcad;hpb=6ef69ad2dac6938643c8995dcbf39b63a7f235e2;p=friendica.git diff --git a/include/poller.php b/include/poller.php index b3a66fc389..44f4895cdb 100644 --- a/include/poller.php +++ b/include/poller.php @@ -39,7 +39,7 @@ function poller_run($argv, $argc){ return; } - if (App::maxload_reached()) { + if ($a->maxload_reached()) { return; } @@ -556,6 +556,9 @@ function clear_worker_processes() { function poller_run_cron() { logger('Add cron entries', LOGGER_DEBUG); + // Check for spooled items + proc_run(PRIORITY_HIGH, "include/spool_post.php"); + // Run the cron job that calls all other jobs proc_run(PRIORITY_MEDIUM, "include/cron.php");