Skip to content

Commit

Permalink
Merge pull request #1021 from hashicorp/issue_1019_redux
Browse files Browse the repository at this point in the history
Make default grace period match Vault's default
  • Loading branch information
preetapan authored Oct 3, 2017
2 parents be3854a + ac97fc0 commit e2071a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (

const (
// DefaultVaultGrace is the default grace period before which to read a new
// secret from Vault. If a lease is due to expire in 5 minutes, Consul
// secret from Vault. If a lease is due to expire in 15 seconds, Consul
// Template will read a new secret at that time minus this value.
DefaultVaultGrace = 5 * time.Minute
DefaultVaultGrace = 15 * time.Second

// DefaultVaultRenewToken is the default value for if the Vault token should
// be renewed.
Expand Down

0 comments on commit e2071a7

Please sign in to comment.