mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 15:00:09 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user