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);
 | 
			
		||||
            } else {
 | 
			
		||||
                ctx.doFetchAlarmCount();
 | 
			
		||||
                ctx.createAlarmSubscriptions();
 | 
			
		||||
                if (entitiesIds != null) {
 | 
			
		||||
                    ctx.createAlarmSubscriptions();
 | 
			
		||||
                }
 | 
			
		||||
                TbAlarmCountSubCtx finalCtx = ctx;
 | 
			
		||||
                ScheduledFuture<?> task = scheduler.scheduleWithFixedDelay(
 | 
			
		||||
                        () -> refreshDynamicQuery(finalCtx),
 | 
			
		||||
 | 
			
		||||
@ -83,7 +83,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
 | 
			
		||||
@Slf4j
 | 
			
		||||
@DaoSqlTest
 | 
			
		||||
@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 {
 | 
			
		||||
    @Autowired
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user