mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 15:40:55 +08:00
Close the client postgresql connection after rejection. (#4084)
Co-authored-by: Manuel Vázquez Acosta <manuel@merchise.org>
This commit is contained in:
@@ -458,6 +458,7 @@ exports.postgresQuery = function (connectionString, query) {
|
||||
});
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
client.end();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user