fixed timeouts in TbDeviceProfileNode
This commit is contained in:
parent
d31358b2ea
commit
6f6d8b9d50
@ -125,8 +125,10 @@ public class TbDeviceProfileNode implements TbNode {
|
||||
DeviceId deviceId = new DeviceId(msg.getOriginator().getId());
|
||||
if (msg.getType().equals(DataConstants.ENTITY_UPDATED)) {
|
||||
invalidateDeviceProfileCache(deviceId, msg.getData());
|
||||
ctx.tellSuccess(msg);
|
||||
} else if (msg.getType().equals(DataConstants.ENTITY_DELETED)) {
|
||||
removeDeviceState(deviceId);
|
||||
ctx.tellSuccess(msg);
|
||||
} else {
|
||||
DeviceState deviceState = getOrCreateDeviceState(ctx, deviceId, null);
|
||||
if (deviceState != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user