1
0
mirror of https://github.com/nxshock/zkv.git synced 2024-11-27 11:21:02 +05:00
zkv/defaults.go
2022-12-03 20:59:17 +05:00

14 lines
218 B
Go

package zkv
import (
"runtime"
"github.com/klauspost/compress/zstd"
)
var defaultOptions = Options{
MaxParallelReads: runtime.NumCPU(),
CompressionLevel: zstd.SpeedDefault,
BufferSize: 4 * 1024 * 1024,
}