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:
Patrik Nordwall 2012-09-07 17:42:15 +02:00
parent 6dd0d736f7
commit 83e7f5d6d6
2 changed files with 8 additions and 10 deletions

View file

@ -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")
}