]> git.mxchange.org Git - friendica.git/blobdiff - mod/worker.php
Store spooled data
[friendica.git] / mod / worker.php
index aebffed7447d36313b7ff96ae26bfdc7d1f9b687..c202a28d64d95feb1765485efad7733ab3fa96c3 100644 (file)
@@ -14,8 +14,10 @@ function worker_init($a){
                return;
        }
 
-       // We don't need the following lines if we can execute background jobs
+       // We don't need the following lines if we can execute background jobs.
+       // So we just wake up the worker if it sleeps.
        if (function_exists("proc_open")) {
+               call_worker_if_idle();
                return;
        }