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
|
|
@ -152,6 +152,7 @@ private[akka] class SubFusingActorMaterializerImpl(val delegate: ExtendedActorMa
|
|||
@InternalApi private[akka] object StreamSupervisor {
|
||||
def props(settings: ActorMaterializerSettings, haveShutDown: AtomicBoolean): Props =
|
||||
Props(new StreamSupervisor(settings, haveShutDown)).withDeploy(Deploy.local)
|
||||
.withDispatcher(settings.dispatcher)
|
||||
private[stream] val baseName = "StreamSupervisor"
|
||||
private val actorName = SeqActorName(baseName)
|
||||
def nextName(): String = actorName.next()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue