diff --git a/Database/Keys/SQL.hs b/Database/Keys/SQL.hs index 77afb871a1..0ebeaf7f4f 100644 --- a/Database/Keys/SQL.hs +++ b/Database/Keys/SQL.hs @@ -93,7 +93,7 @@ addAssociatedFile k f = queueDb $ -- any old key. newAssociatedFile :: Key -> TopFilePath -> WriteHandle -> IO () newAssociatedFile k f = queueDb $ - void $ insert $ Associated k af + insert_ $ Associated k af where af = SFilePath (getTopFilePath f) diff --git a/doc/bugs/performance_regression__63___init_takes_times_more/comment_17_d13e85f691165b533d6630a93111c786._comment b/doc/bugs/performance_regression__63___init_takes_times_more/comment_17_d13e85f691165b533d6630a93111c786._comment new file mode 100644 index 0000000000..b3a3534625 --- /dev/null +++ b/doc/bugs/performance_regression__63___init_takes_times_more/comment_17_d13e85f691165b533d6630a93111c786._comment @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 17""" + date="2022-12-26T19:10:04Z" + content=""" + got fixed in +persistent-2.14.4.1. git-annex will get that speed improvement when it's +built with that version. I'd anticipate it improving from 19 seconds +to around 16 seconds. + +(I further opened +that would speed up some other parts of git-annex if implemented.) + +--- + +The only reason to leave this bug open is that reconcileStaged is still +somehow slower than only the persistent-sqlite overhead can explain. +"""]]