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(),
#{ mapping => "vm_args.-kernel net_ticktime"
, default => "2m"
, desc => "This is the approximate time an EMQX node may"
" be unresponsive until it is considered down and thereby disconnected."
, desc => "This is the approximate time an EMQX node may be unresponsive "
"until it is considered down and thereby disconnected."
})}
, {"dist_listen_min",
sc(range(1024, 65535),
#{ mapping => "kernel.inet_dist_listen_min"
, default => 6369
, desc => "Lower bound for the port range where"
" EMQX broker listens for peer connections."
, desc => "Lower bound for the port range where EMQX broker "
"listens for peer connections."
})}
, {"dist_listen_max",
sc(range(1024, 65535),
#{ mapping => "kernel.inet_dist_listen_max"
, default => 6369
, desc => "Upper bound for the port range "
"where EMQX broker listens for peer connections."
, desc => "Upper bound for the port range where EMQX broker "
"listens for peer connections."
})}
, {"backtrace_depth",
sc(integer(),
@ -458,8 +458,8 @@ fields("rpc") ->
#{ mapping => "gen_rpc.port_discovery"
, default => stateless
, desc => "<code>manual</code>: discover ports by <code>tcp_server_port</code>.<br/>"
"<code>stateless</code>: discover ports in a stateless manner,"
" using the following algorithm. "
"<code>stateless</code>: discover ports in a stateless manner, "
"using the following algorithm. "
"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."
})}
@ -468,8 +468,8 @@ fields("rpc") ->
#{ mapping => "gen_rpc.tcp_server_port"
, default => 5369
, desc => "Listening port used by RPC local service.<br/> "
"Note that this config only takes effect "
"when rpc.port_discovery is set to manual."
"Note that this config only takes effect when rpc.port_discovery "
"is set to manual."
})}
, {"ssl_server_port",
sc(integer(),
@ -502,8 +502,8 @@ fields("rpc") ->
sc(file(),
#{ mapping => "gen_rpc.keyfile"
, 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 "
"set permissions to 600."
"Note: contents of this file are secret, so "
"it's necessary to set permissions to 600."
})}
, {"cacertfile",
sc(file(),
@ -534,8 +534,8 @@ fields("rpc") ->
sc(emqx_schema:duration_s(),
#{ mapping => "gen_rpc.socket_keepalive_idle"
, default => "7200s"
, desc => "How long the connections between the brokers should remain open "
"after the last message is sent."
, desc => "How long the connections between the brokers "
"should remain open after the last message is sent."
})}
, {"socket_keepalive_interval",
sc(emqx_schema:duration_s(),