|
@@ -21,7 +21,7 @@ public class ThreadPoolConfig {
|
|
public ThreadPoolExecutor threadPoolTaskExecutor() {
|
|
public ThreadPoolExecutor threadPoolTaskExecutor() {
|
|
return new ThreadPoolExecutor(
|
|
return new ThreadPoolExecutor(
|
|
10,
|
|
10,
|
|
- 20,
|
|
|
|
|
|
+ 60,
|
|
60,
|
|
60,
|
|
TimeUnit.SECONDS,
|
|
TimeUnit.SECONDS,
|
|
new ArrayBlockingQueue<>(30),
|
|
new ArrayBlockingQueue<>(30),
|