optimize: 注释定时线程池.

pull/161/head
chen.ma 4 years ago
parent e63b3b3c09
commit cd46cfeea2

@ -6,7 +6,6 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import javax.annotation.PostConstruct;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
@ -44,7 +43,7 @@ public class ThreadPoolConfig {
return new DynamicThreadPoolWrap(customPoolPrefix);
}
@PostConstruct
// @PostConstruct
@SuppressWarnings("all")
public void testExecuteTask() {
log.info("测试线程池运行时状态接口, 30s 后开始触发拒绝策略...");

Loading…
Cancel
Save