Skip to content

Commit

Permalink
fix SendResult handling in ConHubImpl for batch message sending (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
rokinsky authored Sep 18, 2024
1 parent acb9b7b commit d4f16ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/com/evolutiongaming/conhub/ConHubImpl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ object ConHubImpl extends LazyLogging {

for {remoteMsgs <- Nel.opt(remoteMsgs)} sendMsgs.remote(remoteMsgs, Nil)

val cons = msgsAndCons.flatMap { case (_, cons) => cons }

future map { _ => SendResult(cons) }
}

Expand Down

0 comments on commit d4f16ad

Please sign in to comment.