Skip to content

Commit

Permalink
Fix DefaultTbEntityDataSubscriptionService
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiLandiak committed Feb 26, 2024
1 parent db63551 commit c0ea3e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public class DefaultTbEntityDataSubscriptionService implements TbEntityDataSubsc
public void initExecutor() {
serviceId = serviceInfoProvider.getServiceId();
wsCallBackExecutor = Executors.newSingleThreadExecutor(ThingsBoardThreadFactory.forName("ws-entity-sub-callback"));
tsInSqlDB = databaseTsType.equalsIgnoreCase("timescale"); // cassandra is not supported on Edge
tsInSqlDB = databaseTsType.equalsIgnoreCase("sql") || databaseTsType.equalsIgnoreCase("timescale");
ThreadFactory tbThreadFactory = ThingsBoardThreadFactory.forName("ws-entity-sub-scheduler");
if (dynamicPageLinkRefreshPoolSize == 1) {
scheduler = Executors.newSingleThreadScheduledExecutor(tbThreadFactory);
Expand Down

0 comments on commit c0ea3e1

Please sign in to comment.