Merge branch 'master' of github.com:thingsboard/thingsboard into edge-fix-concurrent-async-issue

This commit is contained in:
Volodymyr Babak 2021-07-23 15:15:14 +03:00
commit 89644e7de4

View File

@ -63,7 +63,7 @@ public class TbRpcService {
private void pushRpcMsgToRuleEngine(TenantId tenantId, Rpc rpc) { private void pushRpcMsgToRuleEngine(TenantId tenantId, Rpc rpc) {
TbMsg msg = TbMsg.newMsg("RPC_" + rpc.getStatus().name(), rpc.getDeviceId(), TbMsgMetaData.EMPTY, JacksonUtil.toString(rpc)); TbMsg msg = TbMsg.newMsg("RPC_" + rpc.getStatus().name(), rpc.getDeviceId(), TbMsgMetaData.EMPTY, JacksonUtil.toString(rpc));
tbClusterService.pushMsgToRuleEngine(tenantId, rpc.getId(), msg, null); tbClusterService.pushMsgToRuleEngine(tenantId, rpc.getDeviceId(), msg, null);
} }
public Rpc findRpcById(TenantId tenantId, RpcId rpcId) { public Rpc findRpcById(TenantId tenantId, RpcId rpcId) {