mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Remove some unnecessary parallel-via-thread-pool-channel calls
As these were causing errors because they were nested in letpar&.
This commit is contained in:
parent
96b65f16fb
commit
fe7da1ba57
1 changed files with 15 additions and 18 deletions
|
@ -303,26 +303,23 @@
|
|||
derivation-file-name))))))
|
||||
(if derivation
|
||||
(letpar& ((derivation-inputs
|
||||
(parallel-via-thread-pool-channel
|
||||
(with-thread-postgresql-connection
|
||||
(lambda (conn)
|
||||
(select-derivation-inputs-by-derivation-id
|
||||
conn
|
||||
(first derivation))))))
|
||||
(first derivation)))))
|
||||
(derivation-outputs
|
||||
(parallel-via-thread-pool-channel
|
||||
(with-thread-postgresql-connection
|
||||
(lambda (conn)
|
||||
(select-derivation-outputs-by-derivation-id
|
||||
conn
|
||||
(first derivation))))))
|
||||
(first derivation)))))
|
||||
(derivation-sources
|
||||
(parallel-via-thread-pool-channel
|
||||
(with-thread-postgresql-connection
|
||||
(lambda (conn)
|
||||
(select-derivation-sources-by-derivation-id
|
||||
conn
|
||||
(first derivation)))))))
|
||||
(first derivation))))))
|
||||
(render-html
|
||||
#:sxml (view-formatted-derivation derivation
|
||||
derivation-inputs
|
||||
|
|
Loading…
Reference in a new issue