deason 5 년 전
부모
커밋
de7437f667
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examcloud-core-basic-starter/src/main/java/cn/com/qmth/examcloud/core/basic/starter/config/ScheduleConfig.java

+ 1 - 1
examcloud-core-basic-starter/src/main/java/cn/com/qmth/examcloud/core/basic/starter/config/ScheduleConfig.java

@@ -22,7 +22,7 @@ public class ScheduleConfig implements Serializable {
      * 定时刷新登录规则(每N分钟执行)
      */
     @PostConstruct
-    @Scheduled(cron = "0 1/1 * * * ?")
+    @Scheduled(cron = "0 10/10 * * * ?")
     public void execute() {
         loginRuleService.refreshLoginRule();
     }