Increase batch sizes to 10000 and queue sizes to 200000, reduce timeout to 2s

This commit is contained in:
2025-07-28 02:11:05 +02:00
parent eda90d96a9
commit 8b43882526
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -14,13 +14,13 @@ import (
const (
// prefixHandlerQueueSize is the queue capacity for prefix tracking operations
prefixHandlerQueueSize = 50000
prefixHandlerQueueSize = 200000
// prefixBatchSize is the number of prefix updates to batch together
prefixBatchSize = 2000
prefixBatchSize = 10000
// prefixBatchTimeout is the maximum time to wait before flushing a batch
prefixBatchTimeout = 5 * time.Second
prefixBatchTimeout = 2 * time.Second
// IP version constants
ipv4Version = 4