Reduce all handler queue sizes to 100,000
This commit is contained in:
parent
7d814c9d2d
commit
bc640b0b37
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// asHandlerQueueSize is the queue capacity for ASN operations
|
// asHandlerQueueSize is the queue capacity for ASN operations
|
||||||
asHandlerQueueSize = 200000
|
asHandlerQueueSize = 100000
|
||||||
|
|
||||||
// asnBatchSize is the number of ASN operations to batch together
|
// asnBatchSize is the number of ASN operations to batch together
|
||||||
asnBatchSize = 10000
|
asnBatchSize = 10000
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// peerHandlerQueueSize is the queue capacity for peer tracking operations
|
// peerHandlerQueueSize is the queue capacity for peer tracking operations
|
||||||
peerHandlerQueueSize = 200000
|
peerHandlerQueueSize = 100000
|
||||||
|
|
||||||
// peerBatchSize is the number of peer updates to batch together
|
// peerBatchSize is the number of peer updates to batch together
|
||||||
peerBatchSize = 10000
|
peerBatchSize = 10000
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// peeringHandlerQueueSize is the queue capacity for peering operations
|
// peeringHandlerQueueSize is the queue capacity for peering operations
|
||||||
peeringHandlerQueueSize = 200000
|
peeringHandlerQueueSize = 100000
|
||||||
|
|
||||||
// minPathLengthForPeering is the minimum AS path length to extract peerings
|
// minPathLengthForPeering is the minimum AS path length to extract peerings
|
||||||
minPathLengthForPeering = 2
|
minPathLengthForPeering = 2
|
||||||
|
@ -14,7 +14,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// prefixHandlerQueueSize is the queue capacity for prefix tracking operations
|
// prefixHandlerQueueSize is the queue capacity for prefix tracking operations
|
||||||
prefixHandlerQueueSize = 500000
|
prefixHandlerQueueSize = 100000
|
||||||
|
|
||||||
// prefixBatchSize is the number of prefix updates to batch together
|
// prefixBatchSize is the number of prefix updates to batch together
|
||||||
prefixBatchSize = 25000
|
prefixBatchSize = 25000
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// routingTableHandlerQueueSize is the queue capacity for in-memory routing table operations
|
// routingTableHandlerQueueSize is the queue capacity for in-memory routing table operations
|
||||||
routingTableHandlerQueueSize = 10000
|
routingTableHandlerQueueSize = 100000
|
||||||
)
|
)
|
||||||
|
|
||||||
// RoutingTableHandler handles BGP messages and updates the in-memory routing table
|
// RoutingTableHandler handles BGP messages and updates the in-memory routing table
|
||||||
|
Loading…
Reference in New Issue
Block a user