Apply suggestion from @szaimen

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Pablo Zmdl <57864086+pabzm@users.noreply.github.com>
This commit is contained in:
Pablo Zmdl
2026-05-28 11:28:35 +02:00
committed by GitHub
parent 7b7c610458
commit 4c7a1bd90e

View File

@@ -575,7 +575,7 @@ readonly class DockerActionManager {
$lastHeartbeat = time();
while (!$pullBody->eof()) {
$line = Utils::readLine($pullBody);
$event = json_decode($line, true);
$event = json_decode($line, true, 512, JSON_THROW_ON_ERROR);
if (!is_array($event)) {
continue;
}