chore: fix elivs warnings
This commit is contained in:
parent
094c4ad262
commit
6da4592bb0
|
@ -55,6 +55,8 @@
|
|||
]).
|
||||
-endif.
|
||||
|
||||
-elvis([{elvis_style, dont_repeat_yourself, disable}]).
|
||||
|
||||
event_names() ->
|
||||
[ 'client.connected'
|
||||
, 'client.disconnected'
|
||||
|
@ -407,7 +409,8 @@ event_info_message_dropped() ->
|
|||
event_info_common(
|
||||
'message.dropped',
|
||||
{<<"message routing-drop">>, <<"消息转发丢弃"/utf8>>},
|
||||
{<<"messages are discarded during routing, usually because there are no subscribers">>, <<"消息在转发的过程中被丢弃,一般是由于没有订阅者"/utf8>>},
|
||||
{<<"messages are discarded during routing, usually because there are no subscribers">>,
|
||||
<<"消息在转发的过程中被丢弃,一般是由于没有订阅者"/utf8>>},
|
||||
<<"SELECT * FROM \"$events/message_dropped\" WHERE topic =~ 't/#'">>
|
||||
).
|
||||
event_info_delivery_dropped() ->
|
||||
|
@ -415,7 +418,7 @@ event_info_delivery_dropped() ->
|
|||
'delivery.dropped',
|
||||
{<<"message delivery-drop">>, <<"消息投递丢弃"/utf8>>},
|
||||
{<<"messages are discarded during delivery, i.e. because the message queue is full">>,
|
||||
<<"消息在投递的过程中被丢弃,比如由于消息队列已满"/utf8>>},
|
||||
<<"消息在投递的过程中被丢弃,比如由于消息队列已满"/utf8>>},
|
||||
<<"SELECT * FROM \"$events/delivery_dropped\" WHERE topic =~ 't/#'">>
|
||||
).
|
||||
event_info_client_connected() ->
|
||||
|
|
Loading…
Reference in New Issue