harmonize MyActor.props pattern, see #3418

This commit is contained in:
Patrik Nordwall 2013-05-30 14:03:35 +02:00
parent 92db59183e
commit 07baf05bae
11 changed files with 24 additions and 27 deletions

View file

@ -13,6 +13,7 @@ import akka.cluster.ClusterEvent.MemberUp
import akka.cluster.ClusterEvent.MemberRemoved
import akka.remote.FailureDetectorRegistry
import akka.remote.RemoteWatcher
import akka.actor.Deploy
/**
* INTERNAL API
@ -27,7 +28,7 @@ private[cluster] object ClusterRemoteWatcher {
unreachableReaperInterval: FiniteDuration,
heartbeatExpectedResponseAfter: FiniteDuration): Props =
Props(classOf[ClusterRemoteWatcher], failureDetector, heartbeatInterval, unreachableReaperInterval,
heartbeatExpectedResponseAfter)
heartbeatExpectedResponseAfter).withDeploy(Deploy.local)
}
/**