From 2cdae0f5f7d7d2db4ff07be0c3e97a10eb3722d3 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期六, 18 三月 2023 14:57:00 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/config/ScheduleConfig.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/lf/server/config/ScheduleConfig.java b/src/main/java/com/lf/server/config/ScheduleConfig.java
index 27cc2ff..3251821 100644
--- a/src/main/java/com/lf/server/config/ScheduleConfig.java
+++ b/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();
@@ -59,7 +59,7 @@
         }
     }
 
-    @Scheduled(fixedRate = 60 * 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());
 
             // 璧勬簮璋冪敤鐘舵��
 

--
Gitblit v1.9.3