Increase batch sizes to 10000 and queue sizes to 200000, reduce timeout to 2s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user