Skip to content

Commit da0a28b

Browse files
committed
fix: update defaultBloomFilterAlloc
1 parent 3d9c147 commit da0a28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/LSMTree/Internal/Config.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ instance NFData BloomFilterAlloc where
190190
rnf (AllocRequestFPR fpr) = rnf fpr
191191

192192
defaultBloomFilterAlloc :: BloomFilterAlloc
193-
defaultBloomFilterAlloc = AllocFixed 10
193+
defaultBloomFilterAlloc = AllocRequestFPR 1e-3
194194

195195
bloomFilterAllocForLevel :: TableConfig -> RunLevelNo -> RunBloomFilterAlloc
196196
bloomFilterAllocForLevel conf _levelNo =

0 commit comments

Comments
 (0)