rename memoryUnits

It's not just used for memory sizes.
This commit is contained in:
Joey Hess 2022-05-05 15:35:11 -04:00
parent d1cce869ed
commit 8675b2b075
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 10 additions and 10 deletions

View file

@ -422,7 +422,7 @@ bloom_info = simpleStat "bloom filter size" $ do
-- Two bloom filters are used at the same time when running
-- git-annex unused, so double the size of one.
sizer <- mkSizer
size <- sizer memoryUnits False . (* 2) . fromIntegral . fst <$>
size <- sizer committeeUnits False . (* 2) . fromIntegral . fst <$>
lift bloomBitsHashes
return $ size ++ note