...
|
...
|
@@ -57,7 +57,7 @@ public class SpiderJob { |
|
|
}
|
|
|
}
|
|
|
|
|
|
@Scheduled(cron = "0 15 5 * * ?")
|
|
|
@Scheduled(cron = "0 35 4 * * ?")
|
|
|
public void convertSpiderContents() {
|
|
|
// 将爬虫内容转换为关键词转换关系 需要依赖SuggestionCounter执行后再执行
|
|
|
if (!dynamicConfigService.isIncreasementSpiderOpen()) {
|
...
|
...
|
@@ -72,7 +72,7 @@ public class SpiderJob { |
|
|
public void updateSuggestConversion() {
|
|
|
// 执行全量的提取关系刷新
|
|
|
long begin = System.currentTimeMillis();
|
|
|
LOGGER.info("[func=convertSpiderContents.start][begin={}]", begin);
|
|
|
LOGGER.info("[func=updateSuggestConversion.start][begin={}]", begin);
|
|
|
if (!dynamicConfigService.isIncreasementSpiderOpen()) {
|
|
|
LOGGER.warn("[func=updateSuggestConversion.end][message=inceasement spider is closed]");
|
|
|
return;
|
...
|
...
|
|