Authored by Gino Zhang

修改conversion相关定时任务的执行时间

... ... @@ -75,7 +75,7 @@ public class IndexRebuildJob implements ApplicationEventPublisherAware {
logger.info("indexRebuildJob rebuildSuggestIndex end----[cost={}]", System.currentTimeMillis() - begin);
}
@Scheduled(cron = "0 30 5 * * ?")
@Scheduled(cron = "0 45 4 * * ?")
public void rebuildConversionIndex() {
// conversion索引由于需要suggestConvertorJob的执行 因此单独放在5点半重建
long begin = System.currentTimeMillis();
... ...
... ... @@ -37,7 +37,7 @@ public class SuggestionCounterJob implements ApplicationContextAware {
.collect(Collectors.toList());
}
@Scheduled(cron = "0 30 3 * * ?")
@Scheduled(cron = "0 40 3 * * ?")
public void execute() {
long begin = System.currentTimeMillis();
logger.info("SuggestionCounterJob execute start----[begin={}]", begin);
... ...
... ... @@ -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;
... ...