Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Mar 21, 2024
1 parent aacf211 commit deaf9a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ func DefaultPebbleOptions() *pebble.Options {
l.IndexBlockSize = 256 << 10 // 256 KB

// enable zstd
l.Compression = pebble.ZstdCompression
l.Compression = func() pebble.Compression {
return pebble.ZstdCompression
}

l.FilterPolicy = bloom.FilterPolicy(10)
l.FilterType = pebble.TableFilter
Expand Down

0 comments on commit deaf9a3

Please sign in to comment.