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

Update the queue documentation to reflect the types of queues and current default queue.
This commit is contained in:
William Banfield
2022-07-14 16:19:53 -04:00
committed by GitHub
parent b71ec8c83f
commit c1c501ecd4
2 changed files with 5 additions and 3 deletions

View File

@@ -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"`
}

View File

@@ -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