Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
/ tendermint Public archive

Commit e9239e9

Browse files
authored
p2p: switch default queue implementation (#8976)
1 parent 136b627 commit e9239e9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ func DefaultP2PConfig() *P2PConfig {
685685
PexReactor: true,
686686
HandshakeTimeout: 20 * time.Second,
687687
DialTimeout: 3 * time.Second,
688-
QueueType: "priority",
688+
QueueType: "simple-priority",
689689
}
690690
}
691691

test/e2e/generator/generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func generateTestnet(r *rand.Rand, opt map[string]interface{}) (e2e.Manifest, er
115115
Nodes: map[string]*e2e.ManifestNode{},
116116
KeyType: keyType.Choose(r).(string),
117117
Evidence: evidence.Choose(r).(int),
118-
QueueType: "priority",
118+
QueueType: "simple-priority",
119119
TxSize: opt["txSize"].(int),
120120
}
121121

test/e2e/networks/ci.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
evidence = 5
55
initial_height = 1000
66
initial_state = {initial01 = "a", initial02 = "b", initial03 = "c"}
7-
queue_type = "priority"
7+
queue_type = "simple-priority"
88
abci_protocol = "builtin"
99

1010
[validators]

test/e2e/pkg/testnet.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ func (n Node) Validate(testnet Testnet) error {
355355
return fmt.Errorf("invalid mempool version %q", n.Mempool)
356356
}
357357
switch n.QueueType {
358-
case "", "priority", "fifo":
358+
case "", "priority", "fifo", "simple-priority":
359359
default:
360360
return fmt.Errorf("unsupported p2p queue type: %s", n.QueueType)
361361
}

0 commit comments

Comments
 (0)