diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-17 16:04:07 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-17 16:04:07 +0300 |
commit | ea6808cc41094b87f667705587fe2deea0437a1e (patch) | |
tree | 8ea975329a545d92568badeb90dddea62d8433a0 /mod | |
parent | 48f1c1feda91d9809406c83569443eedc9ea799e (diff) |
Fix build task handler not to acquire extra database connection
Diffstat (limited to 'mod')
-rw-r--r-- | mod/mod-build-task.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<build> (b->id); |