Mini cleanup to stream.ActorMaterializer (#25866)
Do it once, instead of in all 4 call sites.
This commit is contained in:
parent
079aa46733
commit
91101d996c
3 changed files with 12 additions and 10 deletions
|
|
@ -71,8 +71,9 @@ import akka.util.OptionVal
|
|||
val system = actorSystemOf(context)
|
||||
val materializerSettings = ActorMaterializerSettings(system)
|
||||
|
||||
val streamSupervisor = context.actorOf(StreamSupervisor.props(materializerSettings, haveShutDown)
|
||||
.withDispatcher(materializerSettings.dispatcher), StreamSupervisor.nextName())
|
||||
val streamSupervisor = context.actorOf(
|
||||
StreamSupervisor.props(materializerSettings, haveShutDown),
|
||||
StreamSupervisor.nextName())
|
||||
|
||||
PhasedFusingActorMaterializer(
|
||||
system,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue