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