Skip to content

Commit

Permalink
URL for our solution
Browse files Browse the repository at this point in the history
  • Loading branch information
heynemann committed Nov 9, 2016
1 parent 403eeac commit 9a42a96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extensions/postgresql.js
Expand Up @@ -124,6 +124,7 @@ export async function connect(pgUrl, options, logger) {
}

export async function disconnect(db) {
// Got this from https://github.com/sequelize/sequelize/pull/5776/files
const hasDisconnected = new Promise((resolve) => {
const manager = db.client.connectionManager
if (manager.pool) {
Expand Down

0 comments on commit 9a42a96

Please sign in to comment.