Adding maximum restart attempts to BackoffSupervisor #24769
This commit is contained in:
parent
0d7419b422
commit
176b718b2a
11 changed files with 475 additions and 39 deletions
|
|
@ -309,7 +309,8 @@ abstract class ClusterShardingSpec(config: ClusterShardingSpecConfig) extends Mu
|
|||
childName = "coordinator",
|
||||
minBackoff = 5.seconds,
|
||||
maxBackoff = 5.seconds,
|
||||
randomFactor = 0.1).withDeploy(Deploy.local)
|
||||
randomFactor = 0.1,
|
||||
maxNrOfRetries = -1).withDeploy(Deploy.local)
|
||||
system.actorOf(
|
||||
ClusterSingletonManager.props(
|
||||
singletonProps,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue