Fix issues with with-resource-from-pool
This commit is contained in:
parent
abe50b0443
commit
1c75394187
1 changed files with 10 additions and 11 deletions
|
|
@ -620,10 +620,10 @@
|
|||
package-derivations))))))
|
||||
(else
|
||||
(letpar& ((systems
|
||||
(with-resource-from-pool (connection-pool) conn
|
||||
(call-with-resource-from-pool (connection-pool)
|
||||
list-systems))
|
||||
(targets
|
||||
(with-resource-from-pool (connection-pool) conn
|
||||
(call-with-resource-from-pool (connection-pool)
|
||||
valid-targets)))
|
||||
(render-html
|
||||
#:sxml (view-branch-package-derivations
|
||||
|
|
@ -667,8 +667,7 @@
|
|||
package-name
|
||||
output-name)))
|
||||
(build-server-urls
|
||||
(call-with-resource-from-pool
|
||||
(connection-pool)
|
||||
(call-with-resource-from-pool (connection-pool)
|
||||
select-build-server-urls-by-id)))
|
||||
(case (most-appropriate-mime-type
|
||||
'(application/json text/html)
|
||||
|
|
@ -696,10 +695,10 @@
|
|||
package-outputs))))))
|
||||
(else
|
||||
(letpar& ((systems
|
||||
(with-resource-from-pool (connection-pool) conn
|
||||
(call-with-resource-from-pool (connection-pool)
|
||||
list-systems))
|
||||
(targets
|
||||
(with-resource-from-pool (connection-pool) conn
|
||||
(call-with-resource-from-pool (connection-pool)
|
||||
valid-targets)))
|
||||
(render-html
|
||||
#:sxml (view-branch-package-outputs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue