Skip to content

Commit d4db8ad

Browse files
authored
Update prod.js
1 parent bc6b0b6 commit d4db8ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/database/pool/prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ global.pool = new Pool({
88
})
99

1010

11-
global.pool.on('drain', client.end.bind(client));
11+
global.pool.on('drain', global.pool.end.bind(client));
1212

1313
module.exports = global.pool

0 commit comments

Comments
 (0)