Skip to content

Commit

Permalink
Close the client postgresql connection after rejection. (#4084)
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Vázquez Acosta <manuel@merchise.org>
  • Loading branch information
louislam and mvaled authored Nov 22, 2023
1 parent bf58838 commit 8e61158
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/util-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ exports.postgresQuery = function (connectionString, query) {
});
} catch (e) {
reject(e);
client.end();
}
}
});
Expand Down

0 comments on commit 8e61158

Please sign in to comment.