Skip to content

Commit

Permalink
Merge pull request #4618 from oasisprotocol/kostko/feature/rt-tx-rech…
Browse files Browse the repository at this point in the history
…eck-defint

go/worker/common: Lower default transaction recheck interval
  • Loading branch information
kostko authored Mar 31, 2022
2 parents c2b638c + 53d2644 commit 4c8b1c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/4618.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go/worker/common: Lower default transaction recheck interval
2 changes: 1 addition & 1 deletion go/worker/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 4c8b1c1

Please sign in to comment.