#2970 - Removing scheduler and dispatcher from ARP and reimplementing PromiseActorRef to use an internal calling thread EC
This commit is contained in:
parent
88f7e28c6b
commit
fcfe7b4617
15 changed files with 69 additions and 88 deletions
|
|
@ -464,7 +464,7 @@ private[remote] class EndpointManager(conf: Config, log: LoggingAdapter) extends
|
|||
// Shutdown all endpoints and signal to sender when ready (and whether all endpoints were shut down gracefully)
|
||||
val sys = context.system // Avoid closing over context
|
||||
Future sequence endpoints.allEndpoints.map {
|
||||
gracefulStop(_, settings.FlushWait, EndpointWriter.FlushAndStop)(sys)
|
||||
gracefulStop(_, settings.FlushWait, EndpointWriter.FlushAndStop)
|
||||
} map { _.foldLeft(true) { _ && _ } } pipeTo sender
|
||||
// Ignore all other writes
|
||||
context.become(flushing)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue