deason 5 anos atrás
pai
commit
de7437f667

+ 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();
     }