make LocalScope mean “purely local” and avoid Props serialization check, see #3210

This commit is contained in:
Roland 2013-05-29 16:13:10 +02:00
parent a4af04ca09
commit 92db59183e
51 changed files with 205 additions and 117 deletions

View file

@ -145,7 +145,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(classOf[ClusterDaemon], settings).
withDispatcher(UseDispatcher), name = "cluster")
withDispatcher(UseDispatcher).withDeploy(Deploy.local), name = "cluster")
}
/**