diff --git a/src/main/java/site/dpbr/dsjs/domain/character/usecase/UploadCharacterList.java b/src/main/java/site/dpbr/dsjs/domain/character/usecase/UploadCharacterList.java index 922bc1a..7167358 100644 --- a/src/main/java/site/dpbr/dsjs/domain/character/usecase/UploadCharacterList.java +++ b/src/main/java/site/dpbr/dsjs/domain/character/usecase/UploadCharacterList.java @@ -41,6 +41,8 @@ public String execute(MultipartFile file) { // 엑셀 데이터 처리 for (Row row : sheet) { for (Cell cell : row) { + + // 초당 API 요청량을 초과하지 않기 위해 1초에 4번씩만 요청 if (cnt == 4) { sleep(1000); cnt = 0;