Skip to content

Commit

Permalink
connection pool bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ifadams committed Oct 3, 2024
1 parent 82aadfc commit db26057
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/QueryHandlerNeo4j.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ void QueryHandlerNeo4j::process_query(protobufs::queryMessage &proto_query,
// errors on response construction
if (error == false) {
neoconn_pool->commit_tx(tx);
} else {
neoconn_pool->put_conn(conn);
}

neoconn_pool->put_conn(conn);

}

int QueryHandlerNeo4j::parse_commands(
Expand Down

0 comments on commit db26057

Please sign in to comment.