stop using addAssociatedFileFast
Use addAssociatedFile instead, after recent optimisations it seems just as fast.
This commit is contained in:
parent
2cb7b7b336
commit
22185b4a4e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ populateKeysDb = unlessM isBareRepo $ do
|
|||
Just k -> do
|
||||
topf <- inRepo $ toTopFilePath $ toRawFilePath f
|
||||
Database.Keys.runWriter $ \h -> liftIO $ do
|
||||
Database.Keys.SQL.addAssociatedFileFast k topf h
|
||||
Database.Keys.SQL.addAssociatedFile k topf h
|
||||
Database.Keys.SQL.addInodeCaches k [ic] h
|
||||
liftIO $ void cleanup
|
||||
Database.Keys.closeDb
|
||||
|
|
Loading…
Add table
Reference in a new issue