diff --git a/Rpc/Service.php b/Rpc/Service.php index 25fa3952..9bf3fab8 100644 --- a/Rpc/Service.php +++ b/Rpc/Service.php @@ -34,12 +34,12 @@ class Service extends Component $mode = $service['mode'] ?? SWOOLE_SOCK_TCP6; $rpcServer = $server->addlistener($service['host'], $service['port'], $mode); $rpcServer->set([ - 'open_tcp_keepalive' => true, - 'tcp_keepidle' => 30, - 'tcp_keepinterval' => 10, - 'tcp_keepcount' => 10, - 'open_http_protocol' => false, - 'open_websocket_protocol' => false, +// 'open_tcp_keepalive' => true, +// 'tcp_keepidle' => 30, +// 'tcp_keepinterval' => 10, +// 'tcp_keepcount' => 10, +// 'open_http_protocol' => false, +// 'open_websocket_protocol' => false, ]); } }