Don't stop dynamic router when all routees terminated, see #2734
This commit is contained in:
parent
3ee42dbe11
commit
accdd63e7d
5 changed files with 39 additions and 6 deletions
|
|
@ -60,6 +60,8 @@ final case class ClusterRouterConfig(local: RouterConfig, settings: ClusterRoute
|
|||
|
||||
override def resizer: Option[Resizer] = local.resizer
|
||||
|
||||
override def stopRouterWhenAllRouteesRemoved: Boolean = false
|
||||
|
||||
override def withFallback(other: RouterConfig): RouterConfig = other match {
|
||||
case ClusterRouterConfig(_: RemoteRouterConfig, _) ⇒ throw new IllegalStateException(
|
||||
"ClusterRouterConfig is not allowed to wrap a RemoteRouterConfig")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue