Merge branch 'master' of github.com:thingsboard/thingsboard
This commit is contained in:
commit
c7de6ec3d9
@ -436,7 +436,9 @@ public class DefaultTbEntityDataSubscriptionService implements TbEntityDataSubsc
|
|||||||
ctx.sendWsMsg(update);
|
ctx.sendWsMsg(update);
|
||||||
} else {
|
} else {
|
||||||
ctx.doFetchAlarmCount();
|
ctx.doFetchAlarmCount();
|
||||||
|
if (entitiesIds != null) {
|
||||||
ctx.createAlarmSubscriptions();
|
ctx.createAlarmSubscriptions();
|
||||||
|
}
|
||||||
TbAlarmCountSubCtx finalCtx = ctx;
|
TbAlarmCountSubCtx finalCtx = ctx;
|
||||||
ScheduledFuture<?> task = scheduler.scheduleWithFixedDelay(
|
ScheduledFuture<?> task = scheduler.scheduleWithFixedDelay(
|
||||||
() -> refreshDynamicQuery(finalCtx),
|
() -> refreshDynamicQuery(finalCtx),
|
||||||
|
|||||||
@ -83,7 +83,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@DaoSqlTest
|
@DaoSqlTest
|
||||||
@TestPropertySource(properties = {
|
@TestPropertySource(properties = {
|
||||||
"server.ws.alarms_per_alarm_status_subscription_cache_size=5"
|
"server.ws.alarms_per_alarm_status_subscription_cache_size=5",
|
||||||
|
"server.ws.dynamic_page_link.refresh_interval=15"
|
||||||
})
|
})
|
||||||
public class WebsocketApiTest extends AbstractControllerTest {
|
public class WebsocketApiTest extends AbstractControllerTest {
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user