diff --git a/leadership/README.md b/leadership/README.md index bc5c45cdee..8b33c2a31b 100644 --- a/leadership/README.md +++ b/leadership/README.md @@ -77,7 +77,7 @@ func participate() { } waitTime := 10 * time.Second - underwood := leadership.NewCandidate(client, "service/swarm/leader", "underwood") + underwood := leadership.NewCandidate(client, "service/swarm/leader", "underwood", 15*time.Second) go func() { for {