<commit_before>package config

import (
	"fmt"
	"time"

	"github.com/hashicorp/vault/api"
)

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
	// Template will read a new secret at that time minus this value.
	DefaultVaultGrace = 5 * time.Minute

	// DefaultVaultRenewToken is the default value for if the Vault token should<commit_msg>Make default grace period match Vault's default, this makes it so users are not surprised by continous renewals on TTLs lower than 5 minutes (the previous default).<commit_after>package config

import (
	"fmt"
	"time"

	"github.com/hashicorp/vault/api"
)

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
	// Template will read a new secret at that time minus this value.
	DefaultVaultGrace = 15 * time.Second

	// DefaultVaultRenewToken is the default value for if the Vault token should
{'fraction_non_alphanumeric': 0.0625, 'fraction_numerical': 0.0057692307692307696, 'mean_word_length': 3.8194444444444446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2919455', 'n_tokens_mistral': 324, 'n_tokens_neox': 306, 'n_words': 143}