]> git.mxchange.org Git - friendica.git/commitdiff
Some more poller are noe a worker
authorMichael <heluecht@pirati.ca>
Sun, 19 Nov 2017 22:00:43 +0000 (22:00 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 19 Nov 2017 22:00:43 +0000 (22:00 +0000)
scripts/daemon.php
scripts/worker.php

index 4accef3960a390dad4b8c79323e38be99671934b..76668adb168e75d9a0b0045cb9bab93cd8ec3099 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * @file util/daemon.php
- * @brief Run the poller from a daemon.
+ * @brief Run the worker from a daemon.
  *
  * This script was taken from http://php.net/manual/en/function.pcntl-fork.php
  */
@@ -90,8 +90,8 @@ while (true) {
        // Just to be sure that this script really runs endlessly
        set_time_limit(0);
 
-       // Call the poller
-       $cmdline = $php.' include/poller.php';
+       // Call the worker
+       $cmdline = $php.' scripts/worker.php';
 
        exec($cmdline);
 
index 6fcf4c7f415fcfba29593c402d601de34567fe73..61828956ae1d942cf80afbfe0247826a275b57f6 100644 (file)
@@ -3,7 +3,7 @@ use Friendica\App;
 use Friendica\Core\Worker;
 use Friendica\Core\Config;
 
-// Ensure that poller.php is executed from the base path of the installation
+// Ensure that worker.php is executed from the base path of the installation
 if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) {
        $directory = dirname($_SERVER["argv"][0]);