Skip to content

Commit

Permalink
refactor: Scheduler 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
suw0n committed Jun 24, 2024
1 parent ac0d1dd commit d354bf9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package b1nd.tokenserver.application.common.async

import reactor.core.publisher.Mono
import reactor.core.scheduler.Schedulers
import java.util.concurrent.Callable

class AsyncCPUBoundTask {
Expand All @@ -10,7 +9,6 @@ class AsyncCPUBoundTask {

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

}
Expand Down

0 comments on commit d354bf9

Please sign in to comment.