Skip to content

Commit 2fca86f

Browse files
committed
fix(admin): maximumPoolSize, io thread pool
1 parent 9726a69 commit 2fca86f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

blog-admin/src/main/java/com/hackyle/blog/admin/infrastructure/threadpool/LogTaskThreadPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class LogTaskThreadPool {
3333
public LogTaskThreadPool() {
3434
ioTaskThreadPool = new ThreadPoolExecutor(
3535
CPU_COUNT *2,
36-
CPU_COUNT *2,
36+
CPU_COUNT *4,
3737
60L,
3838
TimeUnit.SECONDS,
3939
new LinkedBlockingQueue<>(1000), //todo 设计合理的阻塞队列

0 commit comments

Comments
 (0)