config: update config to reflect simple-priority queue (#9007) (#9009)

Update the queue documentation to reflect the types of queues and current default queue.

(cherry picked from commit c1c501ecd4)

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2022-07-14 16:55:04 -04:00
committed by GitHub
parent 318c3028f2
commit a10078fab2
2 changed files with 4 additions and 2 deletions

View File

@@ -666,7 +666,7 @@ type P2PConfig struct { //nolint: maligned
TestDialFail bool `mapstructure:"test-dial-fail"`
// Makes it possible to configure which queue backend the p2p
// layer uses. Options are: "fifo" and "priority",
// layer uses. Options are: "fifo", "simple-priority", and "priority"
// with the default being "priority".
QueueType string `mapstructure:"queue-type"`
}

View File

@@ -282,7 +282,9 @@ pprof-laddr = "{{ .RPC.PprofListenAddress }}"
#######################################################
[p2p]
# Select the p2p internal queue
# Select the p2p internal queue.
# Options are: "fifo", "simple-priority", and "priority",
# with the default being "priority".
queue-type = "{{ .P2P.QueueType }}"
# Address to listen for incoming connections