From 6e96c53ed6b4acef725a3b5d992c337dee8a6037 Mon Sep 17 00:00:00 2001 From: tamirms Date: Wed, 12 Jun 2024 22:34:55 +0100 Subject: [PATCH] change default for reap-frequency to 10 minutes --- services/horizon/internal/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/horizon/internal/flags.go b/services/horizon/internal/flags.go index 8206c63146..4de5b87603 100644 --- a/services/horizon/internal/flags.go +++ b/services/horizon/internal/flags.go @@ -673,7 +673,7 @@ func Flags() (*Config, support.ConfigOptions) { Name: "reap-frequency", ConfigKey: &config.ReapFrequency, OptType: types.Uint, - FlagDefault: uint(7200), + FlagDefault: uint(120), Usage: "the frequency in units of ledgers for how often history is reaped. " + "A value of 1 implies history is trimmed after every ledger. " + "A value of 2 implies history is trimmed on every second ledger.",