管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-02-03 9bce48a9f30f7d80c43f43f46d40df20fcb00e15
src/main/java/com/lf/server/config/ScheduleConfig.java
@@ -23,7 +23,7 @@
    private static final Log log = LogFactory.getLog(ScheduleConfig.class);
    @Scheduled(fixedRate = 10 * 1000)
    @Scheduled(fixedRate = 15 * 1000)
    public void pushMonitorInfo() {
        try {
            JSONObject jsonObject = new JSONObject();
@@ -43,7 +43,7 @@
        }
    }
    @Scheduled(fixedRate = 20 * 1000)
    @Scheduled(fixedRate = 30 * 1000)
    public void checkSystemStatus() {
        try {
            JSONObject jsonObject = new JSONObject();
@@ -59,7 +59,7 @@
        }
    }
    @Scheduled(fixedRate = 40 * 1000)
    @Scheduled(fixedRate = 30 * 1000)
    public void countSystemStatus() {
        // noinspection AlibabaRemoveCommentedCode
        try {
@@ -69,10 +69,10 @@
            jsonObject.put("resUseCount", scheduleService.countResStatus());
            // 用户登录状态 sys_login
            // jsonObject.put("userLoginCount", scheduleService.userLoginCount());
             jsonObject.put("userLoginCount", scheduleService.userLoginCount());
            // 资源操作状态 sys_operate
            // jsonObject.put("operateCount", scheduleService.operateCount());
            jsonObject.put("operateCount", scheduleService.operateCount());
            // 资源调用状态