build: fix comments after golangci-lint upgrade

This commit is contained in:
Nick Craig-Wood
2024-11-11 17:54:59 +00:00
parent 1072173d58
commit 1317fdb9b8
3 changed files with 26 additions and 12 deletions

View File

@ -17,7 +17,8 @@ import (
)
const (
BufferSize = 1024 * 1024 // BufferSize is the default size of the pages used in the reader
// BufferSize is the default size of the pages used in the reader
BufferSize = 1024 * 1024
bufferCacheSize = 64 // max number of buffers to keep in cache
bufferCacheFlushTime = 5 * time.Second // flush the cached buffers after this long
)