Skip to content

Commit

Permalink
fix: 스레드 풀 개수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kariskan committed Aug 28, 2024
1 parent 436d67f commit 2e27791
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ public void produce(InitiateMultipartUploadResult initResponse, String currentFi
Thread.currentThread().getId(), partNumber);
log.info("current thread count: {}", ((ThreadPoolExecutor)executorService).getActiveCount());
log.info("current queue size: {}", workQueue.size());
long start = System.currentTimeMillis();
uploadPart(initResponse.getUploadId(), currentFileName, partNumber, contentBuffer, bufferLength, partETags);
log.info("uploadPart execute time: {}", System.currentTimeMillis() - start);
AtomicInteger currentConsumeCount = currentPartCountMap.get(currentFileName);
if (currentConsumeCount != null) {
currentConsumeCount.incrementAndGet();
Expand Down

0 comments on commit 2e27791

Please sign in to comment.