mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
689ca15b47
commit
e4a7e56c7f
|
@ -33,7 +33,7 @@ ncqStorageOpen fp upd = do
|
|||
let ncqFsync = 16 * megabytes
|
||||
let ncqWriteQLen = 1024 * 4
|
||||
let ncqMinLog = 512 * megabytes
|
||||
let ncqMaxLog = 32 * gigabytes
|
||||
let ncqMaxLog = 4 * gigabytes
|
||||
let ncqWriteBlock = max 256 $ ncqWriteQLen `div` 2
|
||||
let ncqMaxCachedIndex = 64
|
||||
let ncqMaxCachedData = 64
|
||||
|
|
|
@ -206,9 +206,9 @@ ncqIndexCompactStep me@NCQStorage{..} = flip runContT pure $ callCC \exit -> do
|
|||
|
||||
debug $ "state update" <+> pretty a <+> pretty b <+> "=>" <+> pretty fki
|
||||
ncqStateUpdate me do
|
||||
ncqStateAddIndexFile ts fki
|
||||
ncqStateDelIndexFile (coerce a)
|
||||
ncqStateDelIndexFile (coerce b)
|
||||
ncqStateAddIndexFile ts fki
|
||||
|
||||
pure True
|
||||
|
||||
|
|
Loading…
Reference in New Issue