mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
7597ed2822
commit
0159c15e58
|
@ -357,7 +357,7 @@ ncqStorageRun ncq@NCQStorage{..} = flip runContT pure do
|
||||||
stopped <- readTVarIO ncqStopped
|
stopped <- readTVarIO ncqStopped
|
||||||
|
|
||||||
when (dumpByTime || bytes >= dumpData || flushNow || stopped) do
|
when (dumpByTime || bytes >= dumpData || flushNow || stopped) do
|
||||||
debug "NCQStorage: dump data!"
|
-- debug "NCQStorage: dump data!"
|
||||||
liftIO $ writeJournal indexQ syncData
|
liftIO $ writeJournal indexQ syncData
|
||||||
|
|
||||||
mapM_ waitCatch [writer,indexer,refsWriter]
|
mapM_ waitCatch [writer,indexer,refsWriter]
|
||||||
|
|
Loading…
Reference in New Issue