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

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

(cherry picked from commit c1c501ecd4)
This commit is contained in:
William Banfield
2022-07-14 16:19:53 -04:00
committed by William Banfield
parent 318c3028f2
commit 2f5c664da5
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