mirror of https://github.com/voidlizard/hbs2
wip, minor optimization
This commit is contained in:
parent
2219171ca8
commit
9b123448f4
|
@ -279,7 +279,7 @@ ncqLocate2 ncq@NCQStorage2{..} href = flip runContT pure $ callCC \exit -> do
|
||||||
|
|
||||||
lift (ncqLookupEntry ncq href) >>= maybe none (exit . Just . InMemory . coerce)
|
lift (ncqLookupEntry ncq href) >>= maybe none (exit . Just . InMemory . coerce)
|
||||||
|
|
||||||
atomically $ modifyTVar' ncqWrites succ
|
-- atomically $ modifyTVar' ncqWrites succ
|
||||||
|
|
||||||
tracked <- readTVarIO ncqTrackedFiles <&> HPSQ.toList
|
tracked <- readTVarIO ncqTrackedFiles <&> HPSQ.toList
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue