Authored by simba

update

... ... @@ -2,6 +2,7 @@ package com.monitor.middleware.redis.task;
import com.monitor.middleware.redis.service.IRedisMonitorHandleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
... ... @@ -12,7 +13,7 @@ public class RedisMonitorTask {
private IRedisMonitorHandleService redisMonitorService;
//@Scheduled(fixedRate=20000)
//@Scheduled(cron="0 0/2* * * ? ")
@Scheduled(cron="0 0/5* * * ? ")
public void redisMonitor(){
redisMonitorService.redisMonitor();
}
... ...