Restore calling update-derivation-ids-hash-table!
In derivation-file-names->derivation-ids. This is important for performance since it avoids reading derivations with an entry already in the database.
This commit is contained in:
parent
bda4269b56
commit
112bc95a13
1 changed files with 6 additions and 0 deletions
|
|
@ -1207,6 +1207,12 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1"
|
||||||
derivations-count
|
derivations-count
|
||||||
log-tag)
|
log-tag)
|
||||||
|
|
||||||
|
(with-resource-from-pool postgresql-connection-pool conn
|
||||||
|
(update-derivation-ids-hash-table!
|
||||||
|
conn
|
||||||
|
derivation-ids-hash-table
|
||||||
|
derivation-file-names))
|
||||||
|
|
||||||
(let* ((missing-derivation-filenames
|
(let* ((missing-derivation-filenames
|
||||||
(deduplicate-strings
|
(deduplicate-strings
|
||||||
(vector-fold
|
(vector-fold
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue