Skip to content

Commit

Permalink
Tune retry on non-diff to 3 seconds by default.
Browse files Browse the repository at this point in the history
Linked to hashicorp/consul#3890

Having duration of more than 3 seconds might actually increase the
bandwidth.

Change-Id: Iff9104af5f1ce52cadc449a10de657d5c1b2a968
  • Loading branch information
pierresouchay committed Feb 15, 2018
1 parent 996fd12 commit e48d53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/consul-templaterb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ options = {
token: nil,
retry_duration: 10, # On error, retry after n seconds
min_duration: 1, # On sucess and when differences are found
retry_on_non_diff: 20, # On success but when there are not differences
retry_on_non_diff: 3, # On success but when there are not differences
wait_duration: 600, # Delay to block in Consul
max_retry_duration: 600, # On consecutive errors, delay will increase, max value
missing_index_retry_time_on_diff: 15, # On endpoints without X-Consul-Index => next request
Expand Down

0 comments on commit e48d53d

Please sign in to comment.