Remove RPC args
This commit is contained in:
parent
223f3d4da5
commit
99ed0e46b6
|
@ -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
|
||||
##--------------------------------------------------------------------
|
||||
|
|
|
@ -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
|
||||
%%--------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue