From 99ed0e46b618109d91028c17cd578d1de3ad7676 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Wed, 22 Nov 2017 17:07:11 +0800 Subject: [PATCH] Remove RPC args --- etc/emqx.conf | 33 --------------------------- priv/emqx.schema | 58 ------------------------------------------------ 2 files changed, 91 deletions(-) diff --git a/etc/emqx.conf b/etc/emqx.conf index 3cdf21103..a29ff071a 100644 --- a/etc/emqx.conf +++ b/etc/emqx.conf @@ -115,39 +115,6 @@ node.dist_net_ticktime = 60 node.dist_listen_min = 6369 node.dist_listen_max = 6369 -##-------------------------------------------------------------------- -## RPC Args -##-------------------------------------------------------------------- - -## TCP server port. -rpc.tcp_server_port = 5369 - -## Default TCP port for outgoing connections -rpc.tcp_client_port = 5369 - -## Client connect timeout -rpc.connect_timeout = 5000 - -## Client and Server send timeout -rpc.send_timeout = 5000 - -## Authentication timeout -rpc.authentication_timeout = 5000 - -## Default receive timeout for call() functions -rpc.call_receive_timeout = 15000 - -## Socket keepalive configuration -rpc.socket_keepalive_idle = 7200 - -## Seconds between probes -rpc.socket_keepalive_interval = 75 - -## Probes lost to close the connection -rpc.socket_keepalive_count = 9 - -## TODO: sndbuf, rcvbuf and buffer - ##-------------------------------------------------------------------- ## Log ##-------------------------------------------------------------------- diff --git a/priv/emqx.schema b/priv/emqx.schema index 508b98121..ac5871926 100644 --- a/priv/emqx.schema +++ b/priv/emqx.schema @@ -302,64 +302,6 @@ end}. hidden ]}. -%%-------------------------------------------------------------------- -%% RPC Args -%%-------------------------------------------------------------------- - -%% RPC server port. -{mapping, "rpc.tcp_server_port", "gen_rpc.tcp_server_port", [ - {default, 5369}, - {datatype, integer} -]}. - -%% Default TCP port for outgoing connections -{mapping, "rpc.tcp_client_port", "gen_rpc.tcp_client_port", [ - {default, 5369}, - {datatype, integer} -]}. - -%% Client connect timeout -{mapping, "rpc.connect_timeout", "gen_rpc.connect_timeout", [ - {default, 5000}, - {datatype, integer} -]}. - -%% Client and Server send timeout -{mapping, "rpc.send_timeout", "gen_rpc.send_timeout", [ - {default, 5000}, - {datatype, integer} -]}. - -%% Authentication timeout -{mapping, "rpc.authentication_timeout", "gen_rpc.authentication_timeout", [ - {default, 5000}, - {datatype, integer} -]}. - -%% Default receive timeout for call() functions -{mapping, "rpc.call_receive_timeout", "gen_rpc.call_receive_timeout", [ - {default, 15000}, - {datatype, integer} -]}. - -%% Socket keepalive configuration -{mapping, "rpc.socket_keepalive_idle", "gen_rpc.socket_keepalive_idle", [ - {default, 7200}, - {datatype, integer} -]}. - -%% Seconds between probes -{mapping, "rpc.socket_keepalive_interval", "gen_rpc.socket_keepalive_interval", [ - {default, 75}, - {datatype, integer} -]}. - -%% Probes lost to close the connection -{mapping, "rpc.socket_keepalive_count", "gen_rpc.socket_keepalive_count", [ - {default, 9}, - {datatype, integer} -]}. - %%-------------------------------------------------------------------- %% Log %%--------------------------------------------------------------------