X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fworker.php;h=c202a28d64d95feb1765485efad7733ab3fa96c3;hb=da30538a980264da72a7c370013e60b2cb55aafa;hp=aebffed7447d36313b7ff96ae26bfdc7d1f9b687;hpb=ac954278a5ecd9632052ab30a265cc0cd311f608;p=friendica.git diff --git a/mod/worker.php b/mod/worker.php index aebffed744..c202a28d64 100644 --- a/mod/worker.php +++ b/mod/worker.php @@ -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; }