add maxFixedBufferSize materializer setting #19702
This commit is contained in:
parent
f3073b89e0
commit
d0e6f46f14
13 changed files with 306 additions and 223 deletions
|
|
@ -107,8 +107,8 @@ private[akka] final class ActorRefSource[Out](
|
|||
extends SourceModule[Out, ActorRef](shape) {
|
||||
|
||||
override def create(context: MaterializationContext) = {
|
||||
val ref = ActorMaterializer.downcast(context.materializer).actorOf(context,
|
||||
ActorRefSourceActor.props(bufferSize, overflowStrategy))
|
||||
val mat = ActorMaterializer.downcast(context.materializer)
|
||||
val ref = mat.actorOf(context, ActorRefSourceActor.props(bufferSize, overflowStrategy, mat.settings))
|
||||
(akka.stream.actor.ActorPublisher[Out](ref), ref)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue