Skip to content

Commit

Permalink
ignore deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Feb 12, 2024
1 parent 174436d commit 9300c9f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package scaladex.infra

import scala.annotation.nowarn
import scala.concurrent.ExecutionContextExecutor
import scala.concurrent.Future
import scala.concurrent.Promise
Expand Down Expand Up @@ -30,7 +31,7 @@ abstract class CommonAkkaHttpClient(implicit system: ActorSystem) extends FailFa

val queue: SourceQueueWithComplete[(HttpRequest, Promise[HttpResponse])] =
Source
.queue[(HttpRequest, Promise[HttpResponse])](10000, OverflowStrategy.dropNew)
.queue[(HttpRequest, Promise[HttpResponse])](10000, OverflowStrategy.dropNew: @nowarn)
.via(poolClientFlow)
.toMat(Sink.foreach {
case (Success(resp), p) => p.success(resp)
Expand Down

0 comments on commit 9300c9f

Please sign in to comment.