[Bug修复](master): Bug

fix a bug
master
土豆兄弟 3 years ago
parent adcdb02589
commit a57ba33155

@ -37,7 +37,7 @@ public class ShortChainTask {
this.shortServerService = shortServerService;
}
@Async(value = "abTaskExecutor")
@Async(value = "shortChainTaskPool")
public void doRunTask(ShortUrl shortUrl) {
Long satrtMilliSecond = LocalDateTime.now().toInstant(ZoneOffset.of("+8")).toEpochMilli();
log.info("====== [ task start running, task name is {} ] ======", "ABDownTask");

@ -35,7 +35,7 @@ public class ThreadPoolConfig {
/**
* @return 线
*/
@Bean
@Bean("shortChainTaskPool")
public Executor shortChainTaskExecutor() {
ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(

Loading…
Cancel
Save