From ea6808cc41094b87f667705587fe2deea0437a1e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 17 Jul 2023 16:04:07 +0300 Subject: Fix build task handler not to acquire extra database connection --- mod/mod-build-task.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index b1f7658..3ab0ea8 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -1444,7 +1444,7 @@ handle (request& rq, response& rs) { try { - transaction t (build_db_->begin ()); + transaction t (conn->begin ()); b = build_db_->find (b->id); -- cgit v1.1