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