-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
이미지 리스트 업로드 병렬 처리로 변경 및 롤백 기능 추가 #756
Conversation
📝 Jacoco Test Coverage
|
@@ -30,9 +34,21 @@ public class ImageUploader { | |||
private String folder; | |||
|
|||
public List<String> uploadImages(final List<ImageFile> imageFiles) { | |||
return imageFiles.stream() | |||
.map(this::uploadImage) | |||
List<CompletableFuture<String>> imageUploadsFuture = imageFiles.stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final 안되는건가요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
후하하하하하!!!!!!!!
private List<String> getUploadedImageNamesFromFutures(List<CompletableFuture<String>> futures) { | ||
List<String> fileNames = new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
후하하하하하하하하하!!!!!!!!!!!!!!!!!!!1 새맥북에게 final의 중요성을 일깨워주고오겠습니다아ㅏㅏ아ㅏ
53952e8
to
dd5b336
Compare
📄 Summary
🙋🏻 More