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))))))
|
derivation-file-name))))))
|
||||||
(if derivation
|
(if derivation
|
||||||
(letpar& ((derivation-inputs
|
(letpar& ((derivation-inputs
|
||||||
(parallel-via-thread-pool-channel
|
|
||||||
(with-thread-postgresql-connection
|
(with-thread-postgresql-connection
|
||||||
(lambda (conn)
|
(lambda (conn)
|
||||||
(select-derivation-inputs-by-derivation-id
|
(select-derivation-inputs-by-derivation-id
|
||||||
conn
|
conn
|
||||||
(first derivation))))))
|
(first derivation)))))
|
||||||
(derivation-outputs
|
(derivation-outputs
|
||||||
(parallel-via-thread-pool-channel
|
|
||||||
(with-thread-postgresql-connection
|
(with-thread-postgresql-connection
|
||||||
(lambda (conn)
|
(lambda (conn)
|
||||||
(select-derivation-outputs-by-derivation-id
|
(select-derivation-outputs-by-derivation-id
|
||||||
conn
|
conn
|
||||||
(first derivation))))))
|
(first derivation)))))
|
||||||
(derivation-sources
|
(derivation-sources
|
||||||
(parallel-via-thread-pool-channel
|
|
||||||
(with-thread-postgresql-connection
|
(with-thread-postgresql-connection
|
||||||
(lambda (conn)
|
(lambda (conn)
|
||||||
(select-derivation-sources-by-derivation-id
|
(select-derivation-sources-by-derivation-id
|
||||||
conn
|
conn
|
||||||
(first derivation)))))))
|
(first derivation))))))
|
||||||
(render-html
|
(render-html
|
||||||
#:sxml (view-formatted-derivation derivation
|
#:sxml (view-formatted-derivation derivation
|
||||||
derivation-inputs
|
derivation-inputs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue