REQ-2212: 调整线程池配置
This commit is contained in:
parent
eb596bdcad
commit
67fd560660
@ -29,9 +29,9 @@ class PullTodoBroadcaster implements DisposableBean {
|
||||
|
||||
private final MessageApi messageApi;
|
||||
private final ExecutorService executor = new ThreadPoolExecutor(
|
||||
1, 5,
|
||||
20, 40,
|
||||
5, TimeUnit.MINUTES,
|
||||
new ArrayBlockingQueue<>(50),
|
||||
new ArrayBlockingQueue<>(2000),
|
||||
new NamedThreadFactory("PullTodoBroadcaster", false));
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user