stop using addAssociatedFileFast

Use addAssociatedFile instead, after recent optimisations it seems just
as fast.
This commit is contained in:
Joey Hess 2021-06-08 09:23:28 -04:00
parent 2cb7b7b336
commit 22185b4a4e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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