From 6f99b394082d8ae16504c2d3d5abffa81f15c51c Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 23 十一月 2022 16:46:59 +0800
Subject: [PATCH] 11

---
 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..e35b633 100644
--- a/src/main/java/com/lf/server/config/ScheduleConfig.java
+++ b/src/main/java/com/lf/server/config/ScheduleConfig.java
@@ -43,7 +43,7 @@
         }
     }
 
-    @Scheduled(fixedRate = 30 * 1000)
+    @Scheduled(fixedRate = 20 * 1000)
     public void checkSystemStatus() {
         try {
             JSONObject jsonObject = new JSONObject();
@@ -59,7 +59,7 @@
         }
     }
 
-    @Scheduled(fixedRate = 60 * 1000)
+    @Scheduled(fixedRate = 40 * 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