Skip to content

Commit

Permalink
Increase blocking thread expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
aeons committed Jul 10, 2023
1 parent 0c54b68 commit 67b3275
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import cats.effect.{BaseSpec, IO}
import cats.effect.testkit.TestInstances
import cats.syntax.all._

import scala.concurrent.duration._

class WorkerThreadNameSpec extends BaseSpec with TestInstances {

override def runtime(): IORuntime = {
Expand All @@ -33,7 +35,8 @@ class WorkerThreadNameSpec extends BaseSpec with TestInstances {
IORuntime.createWorkStealingComputeThreadPool(
threads = 1,
threadPrefix = s"io-compute-${getClass.getName}",
blockerThreadPrefix = s"io-blocker-${getClass.getName}")
blockerThreadPrefix = s"io-blocker-${getClass.getName}",
runtimeBlockingExpiration = 10.minutes)

IORuntime(
compute,
Expand Down

0 comments on commit 67b3275

Please sign in to comment.