]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker/Cron.php
Loglevels are adjusted
[friendica.git] / src / Core / Worker / Cron.php
index 8df88e9e293c0db8b1c6342429c502388324203d..9db954298ad3b243e3bfbed71affad1685963986 100644 (file)
@@ -101,7 +101,7 @@ class Cron
                                // How long is the process already running?
                                $duration = (time() - strtotime($entry["executed"])) / 60;
                                if ($duration > $max_duration) {
-                                       Logger::notice('Worker process took too much time - killed', ['duration' => number_format($duration, 3), 'max' => $max_duration, 'id' => $entry["id"], 'pid' => $entry["pid"], 'command' => $command]);
+                                       Logger::warning('Worker process took too much time - killed', ['duration' => number_format($duration, 3), 'max' => $max_duration, 'id' => $entry["id"], 'pid' => $entry["pid"], 'command' => $command]);
                                        posix_kill($entry["pid"], SIGTERM);
 
                                        // We killed the stale process.