fix: remove query mode from redis action trace as it only supports sync
Fixes: https://emqx.atlassian.net/browse/EMQX-12336
This commit is contained in:
parent
faf3492e58
commit
c72682d81b
|
@ -119,7 +119,7 @@ on_query(
|
||||||
),
|
),
|
||||||
emqx_trace:rendered_action_template(
|
emqx_trace:rendered_action_template(
|
||||||
MessageTag,
|
MessageTag,
|
||||||
#{command => Cmd, batch => false, mode => sync}
|
#{command => Cmd, batch => false}
|
||||||
),
|
),
|
||||||
Result = query(InstId, {cmd, Cmd}, RedisConnSt),
|
Result = query(InstId, {cmd, Cmd}, RedisConnSt),
|
||||||
?tp(
|
?tp(
|
||||||
|
@ -143,7 +143,7 @@ on_batch_query(
|
||||||
[{ChannelID, _} | _] = BatchData,
|
[{ChannelID, _} | _] = BatchData,
|
||||||
emqx_trace:rendered_action_template(
|
emqx_trace:rendered_action_template(
|
||||||
ChannelID,
|
ChannelID,
|
||||||
#{commands => Cmds, batch => ture, mode => sync}
|
#{commands => Cmds, batch => ture}
|
||||||
),
|
),
|
||||||
Result = query(InstId, {cmds, Cmds}, RedisConnSt),
|
Result = query(InstId, {cmds, Cmds}, RedisConnSt),
|
||||||
?tp(
|
?tp(
|
||||||
|
|
Loading…
Reference in New Issue