Skip to content

Commit

Permalink
go/registry: Change minimum ProposerTimeout from 5 to 2 blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Feb 8, 2021
1 parent fb4a3b2 commit 6038714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/registry/api/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (t *TxnSchedulerParameters) ValidateBasic() error {
if t.MaxBatchSizeBytes < 1024 {
return fmt.Errorf("transaction scheduler max batch bytes size parameter too small")
}
if t.ProposerTimeout < 5 {
if t.ProposerTimeout < 2 {
return fmt.Errorf("transaction scheduler proposer timeout parameter too small")
}

Expand Down

0 comments on commit 6038714

Please sign in to comment.