Skip to content

Commit

Permalink
fix: parallel() -> boundedElastic() blocking 방지
Browse files Browse the repository at this point in the history
  • Loading branch information
suw0n committed Jul 14, 2024
1 parent dc8e22c commit e575f5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AsyncCPUBoundTask {

fun <T> execute(supplier: Callable<T>): Mono<T> {
return Mono.fromCallable(supplier)
.subscribeOn(Schedulers.parallel())
.subscribeOn(Schedulers.boundedElastic())
}

}
Expand Down

0 comments on commit e575f5f

Please sign in to comment.