Skip to content

Commit

Permalink
refactor(config): update Consul servers every 10 min
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Mar 12, 2016
1 parent 6fc993a commit 9623655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var DefaultConfig = api.DefaultConfig

// CacheTTL stores the default Consul catalog refresh cycle TTL.
// Default to 2 minutes.
var CacheTTL = time.Duration(2) * time.Minute
var CacheTTL = time.Duration(10) * time.Minute

// Config represents the plugin supported settings.
type Config struct {
Expand Down

0 comments on commit 9623655

Please sign in to comment.