We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc6b0b6 commit d4db8adCopy full SHA for d4db8ad
1 file changed
source/database/pool/prod.js
@@ -8,6 +8,6 @@ global.pool = new Pool({
8
})
9
10
11
-global.pool.on('drain', client.end.bind(client));
+global.pool.on('drain', global.pool.end.bind(client));
12
13
module.exports = global.pool
0 commit comments