Skip to content

Commit

Permalink
Revert #1126 as it's causing a performance regression
Browse files Browse the repository at this point in the history
  • Loading branch information
atnoya committed Apr 24, 2024
1 parent fb082a0 commit 59b5893
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ private[kafka] trait Blocking[F[_]] {
private[kafka] object Blocking {

def fromSync[F[_]: Sync]: Blocking[F] = new Blocking[F] {
override def apply[A](a: => A): F[A] = Sync[F].interruptible(a)
override def apply[A](a: => A): F[A] = Sync[F].blocking(a)
}

def fromExecutionContext[F[_]](ec: ExecutionContext)(implicit F: Async[F]): Blocking[F] =
Expand Down

0 comments on commit 59b5893

Please sign in to comment.