Stop using a inferior-package-derivations lock
As this isn't for correctness reasons, but resource usage. I'm hoping to manage this differently.
This commit is contained in:
parent
5d0e84bac4
commit
5f5b8fc91d
1 changed files with 0 additions and 11 deletions
|
|
@ -1446,16 +1446,6 @@
|
|||
(lambda (filename)
|
||||
(put-message channel filename))))
|
||||
|
||||
(define lock-num
|
||||
;; I'm seeing problems with the guix-dameon WAL growing excessively, which
|
||||
;; I think is happening when processing revivions involving lots of new
|
||||
;; derivations. So limit the concurrency here in the hope that this'll
|
||||
;; help.
|
||||
(with-time-logging "getting 'inferior-package-derivations lock"
|
||||
(lock-advisory-session-lock
|
||||
conn
|
||||
'inferior-package-derivations)))
|
||||
|
||||
(simple-format #t "debug: extract-information-from: ~A\n" store-path)
|
||||
|
||||
(letpar& ((inferior-lint-checkers-and-warnings-data
|
||||
|
|
@ -1535,7 +1525,6 @@
|
|||
pkg-to-replacement-hash-table))))))))
|
||||
|
||||
(destroy-resource-pool inf-and-store-pool)
|
||||
(unlock-advisory-session-lock conn lock-num)
|
||||
|
||||
(simple-format
|
||||
#t "debug: finished loading information from inferior\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue