diff --git a/src/main/kotlin/com/ggsdh/backend/photobook/application/PhotoBookService.kt b/src/main/kotlin/com/ggsdh/backend/photobook/application/PhotoBookService.kt index 4fa9c28..22adadf 100644 --- a/src/main/kotlin/com/ggsdh/backend/photobook/application/PhotoBookService.kt +++ b/src/main/kotlin/com/ggsdh/backend/photobook/application/PhotoBookService.kt @@ -44,7 +44,7 @@ class PhotoBookService( input: CreatePhotobookRequest, ): PhotoBook { val photos: MutableList = mutableListOf() - val chunkSize = 30 + val chunkSize = 10 val photoChunks = input.photos.chunked(chunkSize) photoChunks.forEach { chunk -> @@ -58,6 +58,10 @@ class PhotoBookService( dateTime = photo.toGetLocationInputDto().date, ), ) + }.exceptionally { + println(it) + + null }.join() } }