Skip to content

Commit

Permalink
go/worker/compute/executor: Enable transaction checks by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tjanez committed Apr 12, 2021
1 parent 310b1ad commit 130a316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/3851.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go/worker/compute/executor: Enable scheduler transaction checks by default
2 changes: 1 addition & 1 deletion go/worker/compute/executor/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func New(
}

func init() {
Flags.Bool(CfgScheduleCheckTxEnabled, false, "Enable checking transactions before scheduling them")
Flags.Bool(CfgScheduleCheckTxEnabled, true, "Enable checking transactions before scheduling them")
Flags.Uint64(cfgMaxTxPoolSize, 10000, "Maximum size of the scheduling transaction pool")
Flags.Uint64(cfgScheduleTxCacheSize, 1000, "Cache size of recently scheduled transactions to prevent re-scheduling")

Expand Down

0 comments on commit 130a316

Please sign in to comment.