Incorparate review comments, see #2473
* Also added ClusterSettings in constructor of ClusterDaemon, because that will be needed to decide if the metrics actor is to be started
This commit is contained in:
parent
6dd0d736f7
commit
83e7f5d6d6
2 changed files with 8 additions and 10 deletions
|
|
@ -138,7 +138,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
|
|||
|
||||
// create supervisor for daemons under path "/system/cluster"
|
||||
private val clusterDaemons: ActorRef = {
|
||||
system.asInstanceOf[ActorSystemImpl].systemActorOf(Props[ClusterDaemon].
|
||||
system.asInstanceOf[ActorSystemImpl].systemActorOf(Props(new ClusterDaemon(settings)).
|
||||
withDispatcher(UseDispatcher), name = "cluster")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue