third-commit
This commit is contained in:
parent
11ed8683a5
commit
ecebd5c1ae
|
|
@ -26,7 +26,7 @@ public class ThreadPoolConfig
|
||||||
// 队列最大长度
|
// 队列最大长度
|
||||||
private int queueCapacity = 1000;
|
private int queueCapacity = 1000;
|
||||||
|
|
||||||
// 线程池维护线程所允许的空闲时间-1
|
// 线程池维护线程所允许的空闲时间-2
|
||||||
private int keepAliveSeconds = 300;
|
private int keepAliveSeconds = 300;
|
||||||
|
|
||||||
@Bean(name = "threadPoolTaskExecutor")
|
@Bean(name = "threadPoolTaskExecutor")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue