]> git.mxchange.org Git - friendica.git/blobdiff - bin/daemon.php
adapt return type
[friendica.git] / bin / daemon.php
index f1eb077adde604de570dfa1d6e37017b32098425..880115d0d01fb8a8ff94b103c3288d115062d483 100755 (executable)
@@ -76,8 +76,8 @@ DI::config()->load();
 if (empty(DI::config()->get('system', 'pidfile'))) {
        die(<<<TXT
 Please set system.pidfile in config/local.config.php. For example:
-
-    'system' => [
+    
+    'system' => [ 
         'pidfile' => '/path/to/daemon.pid',
     ],
 TXT
@@ -199,7 +199,6 @@ while (true) {
        }
 
        if ($do_cron || (!DI::system()->isMaxLoadReached() && Worker::entriesExists() && Worker::isReady())) {
-               Worker::coolDown();
                Worker::spawnWorker($do_cron);
        } else {
                Logger::info('Cool down for 5 seconds', ['pid' => $pid]);