Browse Source
Merge pull request #8444 from dashevchenko/assetBroadcastFix
Fixed asset lifecycle message broadcasting in cluster mode
pull/8458/head
Andrew Shvayka
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java
|
|
|
@ -410,6 +410,7 @@ public class DefaultTbClusterService implements TbClusterService { |
|
|
|
if (entityType.equals(EntityType.TENANT) |
|
|
|
|| entityType.equals(EntityType.TENANT_PROFILE) |
|
|
|
|| entityType.equals(EntityType.DEVICE_PROFILE) |
|
|
|
|| (entityType.equals(EntityType.ASSET) && msg.getEvent() == ComponentLifecycleEvent.UPDATED) |
|
|
|
|| entityType.equals(EntityType.ASSET_PROFILE) |
|
|
|
|| entityType.equals(EntityType.API_USAGE_STATE) |
|
|
|
|| (entityType.equals(EntityType.DEVICE) && msg.getEvent() == ComponentLifecycleEvent.UPDATED) |
|
|
|
|