available check of .1 is sometimes apparently not enough when ipv6 is enabled

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-05-04 12:43:55 +02:00
parent 1a54b583c5
commit 93cec3ca5b

View file

@ -132,7 +132,7 @@ class DockerActionManager
}
if ($internalPort !== "" && $internalPort !== 'host') {
$connection = @fsockopen($containerName, (int)$internalPort, $errno, $errstr, 0.1);
$connection = @fsockopen($containerName, (int)$internalPort, $errno, $errstr, 0.2);
if ($connection) {
fclose($connection);
return new RunningState();