]> git.mxchange.org Git - friendica.git/blobdiff - include/poller.php
Merge pull request #3031 from Hypolite/bug/fix-diaspora-people-links
[friendica.git] / include / poller.php
index b3a66fc389d467476db31c16d36eebb53454fcad..44f4895cdbda1991d9d12d1c0e59dee33b055eab 100644 (file)
@@ -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");