Undeprecate the config, add a note in cluster singleton

This commit is contained in:
Johan Andrén 2018-09-04 14:21:25 +02:00
parent a3af8b025f
commit 8ed4f5abab
2 changed files with 2 additions and 4 deletions

View file

@ -44,6 +44,8 @@ object ClusterSingletonManagerSettings {
*/
def apply(system: ActorSystem): ClusterSingletonManagerSettings =
apply(system.settings.config.getConfig("akka.cluster.singleton"))
// note that this setting has some additional logic inside the ClusterSingletonManager
// falling back to DowningProvider.downRemovalMargin if it is off/Zero
.withRemovalMargin(Cluster(system).settings.DownRemovalMargin)
/**