harmonize MyActor.props pattern, see #3418
This commit is contained in:
parent
92db59183e
commit
07baf05bae
11 changed files with 24 additions and 27 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue