mirror of
https://github.com/YGGverse/HLState.git
synced 2026-03-31 09:05:44 +00:00
reduce socket connection timeout
This commit is contained in:
parent
72d40cfa1f
commit
6b3c33d87a
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,8 @@ class MainController extends AbstractController
|
|||
|
||||
$node->Connect(
|
||||
false === filter_var($server->getHost(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ? $server->getHost() : "[{$server->getHost()}]",
|
||||
$server->getPort()
|
||||
$server->getPort(),
|
||||
1
|
||||
);
|
||||
|
||||
if ($node->Ping())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue