Browse Source

黑名单

zouxuan 3 years ago
parent
commit
df5b47755e

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/ScheduleManager.java

@@ -11,7 +11,7 @@ public class ScheduleManager{
     @Autowired
     private WordContext wordContext;
 
-    @Scheduled(cron = "30 * * * * ?")
+    @Scheduled(cron = "0 0/10 * * * ?")
     public void refreshBlackList() {
         if (wordContext.isInit())
             wordContext.mapInit();