Skip to content

Commit

Permalink
config: update config to reflect simple-priority queue (tendermint#9007)
Browse files Browse the repository at this point in the history
Update the queue documentation to reflect the types of queues and current default queue.
  • Loading branch information
williambanfield authored Jul 14, 2022
1 parent b71ec8c commit c1c501e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,8 @@ type P2PConfig struct { //nolint: maligned
DialTimeout time.Duration `mapstructure:"dial-timeout"`

// Makes it possible to configure which queue backend the p2p
// layer uses. Options are: "fifo" and "priority",
// with the default being "priority".
// layer uses. Options are: "fifo" and "simple-priority", and "priority",
// with the default being "simple-priority".
QueueType string `mapstructure:"queue-type"`
}

Expand Down
4 changes: 3 additions & 1 deletion config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ pprof-laddr = "{{ .RPC.PprofListenAddress }}"
#######################################################
[p2p]
# Select the p2p internal queue
# Select the p2p internal queue.
# Options are: "fifo" and "simple-priority", and "priority",
# with the default being "simple-priority".
queue-type = "{{ .P2P.QueueType }}"
# Address to listen for incoming connections
Expand Down

0 comments on commit c1c501e

Please sign in to comment.