diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-01 23:38:46 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-01 23:38:46 +0900 |
commit | 41b3511ad9a885504a41eb4292fbceeba86e56f0 (patch) | |
tree | 02385f62c100e38bffd7f1bb44b979e98fa92761 /src/constants.go | |
parent | 128e4a2e8d9f57373182cad64fb69e33fb20e0ee (diff) |
Improve ingestion performance (by around 20%)
Diffstat (limited to 'src/constants.go')
-rw-r--r-- | src/constants.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |