Don't use GraphStage toString when materializing Source.fromPublisher, #30022
* Fixes performance regression in Akka 2.6.11/2.6.12
This commit is contained in:
parent
278a36d036
commit
f5625dc64d
1 changed files with 1 additions and 2 deletions
|
|
@ -769,10 +769,9 @@ private final case class SavedIslandData(
|
|||
|
||||
override def takePublisher(slot: Int, publisher: Publisher[Any]): Unit = {
|
||||
val connection = conn(slot)
|
||||
// TODO: proper input port debug string (currently prints the stage)
|
||||
val bufferSize = connection.inOwner.attributes.mandatoryAttribute[InputBuffer].max
|
||||
val boundary =
|
||||
new BatchingActorInputBoundary(bufferSize, shell, publisher, connection.inOwner.toString)
|
||||
new BatchingActorInputBoundary(bufferSize, shell, publisher, "publisher.in")
|
||||
logics.add(boundary)
|
||||
boundary.stageId = logics.size() - 1
|
||||
boundary.attributes = connection.inOwner.attributes.and(DefaultAttributes.inputBoundary)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue