From 4b6e13e40a798b2eed8f7195f0e36df748d0bd07 Mon Sep 17 00:00:00 2001 From: kariskan Date: Tue, 27 Aug 2024 15:59:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A1=9C=EA=B7=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/woowacamp/storage/global/constant/CommonConstant.java | 2 +- src/main/resources/application.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/woowacamp/storage/global/constant/CommonConstant.java b/src/main/java/com/woowacamp/storage/global/constant/CommonConstant.java index 0c766b7..de16f6e 100644 --- a/src/main/java/com/woowacamp/storage/global/constant/CommonConstant.java +++ b/src/main/java/com/woowacamp/storage/global/constant/CommonConstant.java @@ -8,7 +8,7 @@ public class CommonConstant { public static final int FILE_WRITER_CORE_POOL_SIZE = 15; public static final int FILE_WRITER_MAXIMUM_POOL_SIZE = 30; public static final int FILE_WRITER_KEEP_ALIVE_TIME = 10; - public static final int FILE_WRITER_QUEUE_SIZE = 1; + public static final int FILE_WRITER_QUEUE_SIZE = 60; public static final int THUMBNAIL_WRITER_CORE_POOL_SIZE = 10; public static final int THUMBNAIL_WRITER_MAXIMUM_POOL_SIZE = 100; public static final int THUMBNAIL_WRITER_KEEP_ALIVE_TIME = 0; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 1a24d5f..ee5ec6a 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -43,9 +43,9 @@ server: tomcat: threads: min-spare: 10 - max: 40 + max: 20 accept-count: 100 - max-connections: 50 + max-connections: 20 share: server-domain: localhost:8080