Skip to content

Commit

Permalink
yay
Browse files Browse the repository at this point in the history
  • Loading branch information
jnatten committed Aug 31, 2023
1 parent c8c07c9 commit 77d5ecb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions network/src/main/scala/no/ndla/network/tapir/Routes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ trait Routes[F[_]] {
}

def startJdkServer(name: String, port: Int)(warmupFunc: => Unit): IO[Unit] = {
// val executor: ExecutorService = Executors.newVirtualThreadPerTaskExecutor()
val executor: ExecutorService = Executors.newWorkStealingPool(100)
val executor: ExecutorService = Executors.newVirtualThreadPerTaskExecutor()
val rejectInterceptor = new RejectInterceptor[Id](NdlaRejectHandler[Id]())
val exceptionInterceptor = new ExceptionInterceptor[Id](NdlaExceptionHandler[Id]())
val decodeFailureInterceptor = new DecodeFailureInterceptor[Id](decodeFailureHandler)
Expand Down

0 comments on commit 77d5ecb

Please sign in to comment.