From 3fe98036459ab1dc0d74670bd746cd21495ffea2 Mon Sep 17 00:00:00 2001 From: kariskan Date: Tue, 27 Aug 2024 13:31:38 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=A1=9C=EA=B9=85=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../storage/domain/file/service/FileWriterThreadPool.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/woowacamp/storage/domain/file/service/FileWriterThreadPool.java b/src/main/java/com/woowacamp/storage/domain/file/service/FileWriterThreadPool.java index 2e741d6..c7389b7 100644 --- a/src/main/java/com/woowacamp/storage/domain/file/service/FileWriterThreadPool.java +++ b/src/main/java/com/woowacamp/storage/domain/file/service/FileWriterThreadPool.java @@ -65,6 +65,7 @@ public void produce(InitiateMultipartUploadResult initResponse, String currentFi throw ErrorCode.FILE_UPLOAD_FAILED.baseException(); } log.info("current thread count: {}", ((ThreadPoolExecutor)executorService).getActiveCount()); + log.info("current queue size: {}", ((ThreadPoolExecutor)executorService).getQueue().size()); executorService.execute(() -> { log.info("currentThread: {}, partNumber: {}", Thread.currentThread().getId(), partNumber); uploadPart(initResponse.getUploadId(), currentFileName, partNumber, contentBuffer, bufferLength, partETags);