Reduce all handler queue sizes to 100,000

此提交包含在:
2025-07-28 02:50:05 +02:00
父節點 7d814c9d2d
當前提交 bc640b0b37
共有 5 個檔案被更改,包括 5 行新增5 行删除

查看文件

@@ -11,7 +11,7 @@ import (
const (
// asHandlerQueueSize is the queue capacity for ASN operations
asHandlerQueueSize = 200000
asHandlerQueueSize = 100000
// asnBatchSize is the number of ASN operations to batch together
asnBatchSize = 10000

查看文件

@@ -12,7 +12,7 @@ import (
const (
// peerHandlerQueueSize is the queue capacity for peer tracking operations
peerHandlerQueueSize = 200000
peerHandlerQueueSize = 100000
// peerBatchSize is the number of peer updates to batch together
peerBatchSize = 10000

查看文件

@@ -12,7 +12,7 @@ import (
const (
// peeringHandlerQueueSize is the queue capacity for peering operations
peeringHandlerQueueSize = 200000
peeringHandlerQueueSize = 100000
// minPathLengthForPeering is the minimum AS path length to extract peerings
minPathLengthForPeering = 2

查看文件

@@ -14,7 +14,7 @@ import (
const (
// prefixHandlerQueueSize is the queue capacity for prefix tracking operations
prefixHandlerQueueSize = 500000
prefixHandlerQueueSize = 100000
// prefixBatchSize is the number of prefix updates to batch together
prefixBatchSize = 25000

查看文件

@@ -11,7 +11,7 @@ import (
const (
// 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