From 14f7216033bd476564134035ffa419eee9427df5 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Fri, 4 Mar 2022 11:48:09 -0300 Subject: [PATCH] style: please elvis checks --- apps/emqx_conf/src/emqx_conf_schema.erl | 28 ++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/emqx_conf/src/emqx_conf_schema.erl b/apps/emqx_conf/src/emqx_conf_schema.erl index 4603c255e..5dd07ce6c 100644 --- a/apps/emqx_conf/src/emqx_conf_schema.erl +++ b/apps/emqx_conf/src/emqx_conf_schema.erl @@ -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 => "manual: discover ports by tcp_server_port.
" - "stateless: discover ports in a stateless manner," - " using the following algorithm. " + "stateless: discover ports in a stateless manner, " + "using the following algorithm. " "If node name is emqxN@127.0.0.1, 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.
" - "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 rpc.certfile.
" - "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(),