style: please elvis checks

This commit is contained in:
Thales Macedo Garitezi 2022-03-04 11:48:09 -03:00
parent 514e374868
commit 14f7216033
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
1 changed files with 14 additions and 14 deletions

View File

@ -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(),
@ -458,8 +458,8 @@ fields("rpc") ->
#{ mapping => "gen_rpc.port_discovery" #{ mapping => "gen_rpc.port_discovery"
, default => stateless , default => stateless
, desc => "<code>manual</code>: discover ports by <code>tcp_server_port</code>.<br/>" , desc => "<code>manual</code>: discover ports by <code>tcp_server_port</code>.<br/>"
"<code>stateless</code>: discover ports in a stateless manner," "<code>stateless</code>: discover ports in a stateless manner, "
" using the following algorithm. " "using the following algorithm. "
"If node name is <code>emqxN@127.0.0.1</code>, where the N is an integer, " "If node name is <code>emqxN@127.0.0.1</code>, where the N is an integer, "
"then the listening port will be 5370 + N." "then the listening port will be 5370 + N."
})} })}
@ -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(),