workaround for stalling worker processes when running the daemon

This commit is contained in:
Michael 2018-07-11 06:05:22 +00:00
parent 3792e2819d
commit 3cb7a7606e
4 changed files with 10 additions and 8 deletions

View file

@ -597,7 +597,7 @@ class Worker
['id' => $entry["id"]]
);
} else {
logger("Worker process ".$entry["pid"]." (".implode(" ", $argv).") now runs for ".round($duration)." of ".$max_duration." allowed minutes. That's okay.", LOGGER_DEBUG);
logger("Worker process ".$entry["pid"]." (".substr(json_encode($argv), 0, 50).") now runs for ".round($duration)." of ".$max_duration." allowed minutes. That's okay.", LOGGER_DEBUG);
}
}
}