style: please elvis checks
This commit is contained in:
parent
514e374868
commit
14f7216033
|
@ -315,22 +315,22 @@ a crash dump"
|
||||||
sc(emqx_schema:duration(),
|
sc(emqx_schema:duration(),
|
||||||
#{ mapping => "vm_args.-kernel net_ticktime"
|
#{ mapping => "vm_args.-kernel net_ticktime"
|
||||||
, default => "2m"
|
, default => "2m"
|
||||||
, desc => "This is the approximate time an EMQX node may"
|
, desc => "This is the approximate time an EMQX node may be unresponsive "
|
||||||
" be unresponsive until it is considered down and thereby disconnected."
|
"until it is considered down and thereby disconnected."
|
||||||
})}
|
})}
|
||||||
, {"dist_listen_min",
|
, {"dist_listen_min",
|
||||||
sc(range(1024, 65535),
|
sc(range(1024, 65535),
|
||||||
#{ mapping => "kernel.inet_dist_listen_min"
|
#{ mapping => "kernel.inet_dist_listen_min"
|
||||||
, default => 6369
|
, default => 6369
|
||||||
, desc => "Lower bound for the port range where"
|
, desc => "Lower bound for the port range where EMQX broker "
|
||||||
" EMQX broker listens for peer connections."
|
"listens for peer connections."
|
||||||
})}
|
})}
|
||||||
, {"dist_listen_max",
|
, {"dist_listen_max",
|
||||||
sc(range(1024, 65535),
|
sc(range(1024, 65535),
|
||||||
#{ mapping => "kernel.inet_dist_listen_max"
|
#{ mapping => "kernel.inet_dist_listen_max"
|
||||||
, default => 6369
|
, default => 6369
|
||||||
, desc => "Upper bound for the port range "
|
, desc => "Upper bound for the port range where EMQX broker "
|
||||||
"where EMQX broker listens for peer connections."
|
"listens for peer connections."
|
||||||
})}
|
})}
|
||||||
, {"backtrace_depth",
|
, {"backtrace_depth",
|
||||||
sc(integer(),
|
sc(integer(),
|
||||||
|
@ -468,8 +468,8 @@ fields("rpc") ->
|
||||||
#{ mapping => "gen_rpc.tcp_server_port"
|
#{ mapping => "gen_rpc.tcp_server_port"
|
||||||
, default => 5369
|
, default => 5369
|
||||||
, desc => "Listening port used by RPC local service.<br/> "
|
, desc => "Listening port used by RPC local service.<br/> "
|
||||||
"Note that this config only takes effect "
|
"Note that this config only takes effect when rpc.port_discovery "
|
||||||
"when rpc.port_discovery is set to manual."
|
"is set to manual."
|
||||||
})}
|
})}
|
||||||
, {"ssl_server_port",
|
, {"ssl_server_port",
|
||||||
sc(integer(),
|
sc(integer(),
|
||||||
|
@ -502,8 +502,8 @@ fields("rpc") ->
|
||||||
sc(file(),
|
sc(file(),
|
||||||
#{ mapping => "gen_rpc.keyfile"
|
#{ mapping => "gen_rpc.keyfile"
|
||||||
, desc => "Path to the private key file for the <code>rpc.certfile</code>.<br/>"
|
, desc => "Path to the private key file for the <code>rpc.certfile</code>.<br/>"
|
||||||
"Note: contents of this file are secret, so it's necessary to "
|
"Note: contents of this file are secret, so "
|
||||||
"set permissions to 600."
|
"it's necessary to set permissions to 600."
|
||||||
})}
|
})}
|
||||||
, {"cacertfile",
|
, {"cacertfile",
|
||||||
sc(file(),
|
sc(file(),
|
||||||
|
@ -534,8 +534,8 @@ fields("rpc") ->
|
||||||
sc(emqx_schema:duration_s(),
|
sc(emqx_schema:duration_s(),
|
||||||
#{ mapping => "gen_rpc.socket_keepalive_idle"
|
#{ mapping => "gen_rpc.socket_keepalive_idle"
|
||||||
, default => "7200s"
|
, default => "7200s"
|
||||||
, desc => "How long the connections between the brokers should remain open "
|
, desc => "How long the connections between the brokers "
|
||||||
"after the last message is sent."
|
"should remain open after the last message is sent."
|
||||||
})}
|
})}
|
||||||
, {"socket_keepalive_interval",
|
, {"socket_keepalive_interval",
|
||||||
sc(emqx_schema:duration_s(),
|
sc(emqx_schema:duration_s(),
|
||||||
|
|
Loading…
Reference in New Issue