From 41b3511ad9a885504a41eb4292fbceeba86e56f0 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 1 Apr 2024 23:38:46 +0900 Subject: Improve ingestion performance (by around 20%) --- src/constants.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/constants.go') diff --git a/src/constants.go b/src/constants.go index f5f8a939..faf6a0e5 100644 --- a/src/constants.go +++ b/src/constants.go @@ -14,6 +14,7 @@ const ( // Reader readerBufferSize = 64 * 1024 + readerSlabSize = 128 * 1024 readerPollIntervalMin = 10 * time.Millisecond readerPollIntervalStep = 5 * time.Millisecond readerPollIntervalMax = 50 * time.Millisecond -- cgit v1.2.3