diff --git a/.changelog/4618.feature.md b/.changelog/4618.feature.md new file mode 100644 index 00000000000..bce504cccbd --- /dev/null +++ b/.changelog/4618.feature.md @@ -0,0 +1 @@ +go/worker/common: Lower default transaction recheck interval diff --git a/go/worker/common/config.go b/go/worker/common/config.go index a8686de13cc..0076f8b4ce4 100644 --- a/go/worker/common/config.go +++ b/go/worker/common/config.go @@ -115,7 +115,7 @@ func init() { Flags.Uint64(cfgMaxTxPoolSize, 50_000, "Maximum size of the scheduling transaction pool") Flags.Uint64(cfgScheduleTxCacheSize, 100_000, "Maximum cache size of recently scheduled transactions to prevent re-scheduling") Flags.Uint64(cfgCheckTxMaxBatchSize, 1000, "Maximum check tx batch size") - Flags.Uint64(cfgRecheckInterval, 32, "Transaction recheck interval (in rounds)") + Flags.Uint64(cfgRecheckInterval, 5, "Transaction recheck interval (in rounds)") _ = viper.BindPFlags(Flags) }