Skip to content

Commit

Permalink
dispatcher should be initialized first
Browse files Browse the repository at this point in the history
  • Loading branch information
hamnis committed Dec 30, 2024
1 parent fa03dbd commit 93e58d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ private[client] class Http4sChannelPoolMap[F[_]](
val key = Key(RequestKey.fromRequest(request), request.httpVersion)

for {
channel <- connectAndConfigure(key)
dispatcher <- Dispatcher.sequential[F](await = true)
channel <- connectAndConfigure(key)
handler <- Resource.make {
F.pure {
val handler =
Expand Down

0 comments on commit 93e58d5

Please sign in to comment.