]> git.mxchange.org Git - friendica.git/blobdiff - bin/daemon.php
Added "blocked" fields
[friendica.git] / bin / daemon.php
index cc86a9f20155500817cf9622571c72babb8bf398..fcdd735668cf042550a3f598c6311419a7c70431 100755 (executable)
@@ -224,8 +224,10 @@ while (true) {
                usleep($sleep);
 
                $pid = pcntl_waitpid(-1, $status, WNOHANG);
-               Logger::info('Checked children status via pcntl_waitpid', ['pid' => $pid, 'status' => $status]);
-       
+               if ($pid > 0) {
+                       Logger::info('Children quit via pcntl_waitpid', ['pid' => $pid, 'status' => $status]);
+               }
+
                $timeout = ($seconds >= $wait_interval);
        } while (!$timeout && !Worker::IPCJobsExists());