Skip to content

Commit

Permalink
Consul template: retry forever, fixes hashicorp#2623
Browse files Browse the repository at this point in the history
  • Loading branch information
stefreak committed May 22, 2017
1 parent 56cd8b6 commit e7e12d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/consul_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ func runnerConfig(config *config.Config, vaultToken string) (*ctconf.Config, err

t, f := true, false

// retry config
retryForever := 0
conf.Consul.Retry.Attempts = &retryForever

// Force faster retries
if testRetryRate != 0 {
rate := testRetryRate
Expand Down

0 comments on commit e7e12d7

Please sign in to comment.