Browse Source

reduce socket connection timeout

main
ghost 10 months ago
parent
commit
6b3c33d87a
  1. 3
      src/Controller/MainController.php

3
src/Controller/MainController.php

@ -72,7 +72,8 @@ class MainController extends AbstractController
$node->Connect( $node->Connect(
false === filter_var($server->getHost(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ? $server->getHost() : "[{$server->getHost()}]", false === filter_var($server->getHost(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ? $server->getHost() : "[{$server->getHost()}]",
$server->getPort() $server->getPort(),
1
); );
if ($node->Ping()) if ($node->Ping())

Loading…
Cancel
Save