chore: fix elivs warnings
This commit is contained in:
parent
094c4ad262
commit
6da4592bb0
|
@ -55,6 +55,8 @@
|
||||||
]).
|
]).
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
|
-elvis([{elvis_style, dont_repeat_yourself, disable}]).
|
||||||
|
|
||||||
event_names() ->
|
event_names() ->
|
||||||
[ 'client.connected'
|
[ 'client.connected'
|
||||||
, 'client.disconnected'
|
, 'client.disconnected'
|
||||||
|
@ -407,7 +409,8 @@ event_info_message_dropped() ->
|
||||||
event_info_common(
|
event_info_common(
|
||||||
'message.dropped',
|
'message.dropped',
|
||||||
{<<"message routing-drop">>, <<"消息转发丢弃"/utf8>>},
|
{<<"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/#'">>
|
<<"SELECT * FROM \"$events/message_dropped\" WHERE topic =~ 't/#'">>
|
||||||
).
|
).
|
||||||
event_info_delivery_dropped() ->
|
event_info_delivery_dropped() ->
|
||||||
|
|
Loading…
Reference in New Issue