Skip to content

Commit

Permalink
chore: deprecate timeout_commit and timeout_propose config
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Dec 9, 2024
1 parent 9a514ad commit 39e2b0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ only_internal_wal = "{{ .Consensus.OnlyInternalWal }}"
wal_file = "{{ js .Consensus.WalPath }}"
# How long we wait for a proposal block before prevoting nil
# Deprecated: timeout_commit is overriden by the state machine in app version >= 3.

Check failure on line 483 in config/toml.go

View workflow job for this annotation

GitHub Actions / golangci-lint

`overriden` is a misspelling of `overridden` (misspell)
# Therefore, the value set in this config will be ignored.
timeout_propose = "{{ .Consensus.TimeoutPropose }}"
# How much timeout_propose increases with each round
timeout_propose_delta = "{{ .Consensus.TimeoutProposeDelta }}"
Expand All @@ -494,6 +496,8 @@ timeout_precommit_delta = "{{ .Consensus.TimeoutPrecommitDelta }}"
# How long we wait after committing a block, before starting on the new
# height (this gives us a chance to receive some more precommits, even
# though we already have +2/3).
# Deprecated: timeout_commit is overriden by the state machine in app version >= 3.

Check failure on line 499 in config/toml.go

View workflow job for this annotation

GitHub Actions / golangci-lint

`overriden` is a misspelling of `overridden` (misspell)
# Therefore, the value set in this config will be ignored.
timeout_commit = "{{ .Consensus.TimeoutCommit }}"
# How many blocks to look back to check existence of the node's consensus votes before joining consensus
Expand Down

0 comments on commit 39e2b0b

Please sign in to comment.