commit
4e5ca2cead
|
@ -156,7 +156,7 @@ if ( !$server_up )
|
||||||
while (!connect( CLIENT, $saddr ))
|
while (!connect( CLIENT, $saddr ))
|
||||||
{
|
{
|
||||||
$attempts++;
|
$attempts++;
|
||||||
Fatal( "Can't connect: $!" ) if ($attempts > MAX_CONNECT_DELAY);
|
Fatal( "Can't connect: $! after $attempts attempts to $sock_file" ) if ($attempts > MAX_CONNECT_DELAY);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue