]> git.mxchange.org Git - friendica.git/blobdiff - mod/worker.php
BBCode - fixed syntax error
[friendica.git] / mod / worker.php
index 00cb6699d1b2a484e57ae0f5729fd1f92868b743..2995775db1b18e05a12ad099994d838f96e3ae75 100644 (file)
@@ -38,7 +38,9 @@ function worker_init()
 
        Worker::callWorker();
 
-       if ($r = Worker::workerProcess()) {
+       $passing_slow = false;
+
+       if ($r = Worker::workerProcess($passing_slow)) {
                // On most configurations this parameter wouldn't have any effect.
                // But since it doesn't destroy anything, we just try to get more execution time in any way.
                set_time_limit(0);
@@ -58,5 +60,5 @@ function worker_init()
 
        Logger::log("Front end worker ended: ".getmypid());
 
-       killme();
+       exit();
 }