diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2022-05-05 12:39:12 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2022-05-05 12:42:11 +0300 |
commit | fc32e2cfc2ffe0b890d7bf50cc3efbd58a444c6e (patch) | |
tree | 7e6c20aa98fd8e4367fb029284c5539acb6f2825 | |
parent | 7462739f477a3f55062192b7bcba1f97afd50b62 (diff) |
Default enable background verifier
As the background verifier is no longer deleting the invalid records,
we can safely default enable it. This commit sets the default
verification interval to 7 days which means each replica is verified
to exist every 7 days. This allows for Praefect to start producing
logs and metrics on invalid metadata prior to us ultimately enabling
the deletion in the future.
-rw-r--r-- | internal/praefect/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/config/config.go b/internal/praefect/config/config.go index 7c9a2791c..edf864cce 100644 --- a/internal/praefect/config/config.go +++ b/internal/praefect/config/config.go @@ -87,7 +87,7 @@ type BackgroundVerification struct { // DefaultBackgroundVerificationConfig returns the default background verification configuration. func DefaultBackgroundVerificationConfig() BackgroundVerification { - return BackgroundVerification{} + return BackgroundVerification{VerificationInterval: 7 * 24 * time.Hour} } // Reconciliation contains reconciliation specific configuration options. |