Created
July 24, 2018 16:53
-
-
Save Danwakeem/cc56ee0c298c72902313a103bf1a3a79 to your computer and use it in GitHub Desktop.
IBM_DB DSN Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Pool = require("ibm_db").Pool; | |
const ool = new Pool(); | |
const dsn = process.env.dsn; | |
const client = new Pool({ minPoolSize: 0, maxPoolSize: 0, connectionTimeout: 60 }); | |
client.init(0, dsn); | |
client.open(dsn, () => console.log('Opened')); | |
client.open(dsn, () => console.log('Opened')); | |
client.open(dsn, () => console.log('Opened')); | |
client.open(dsn, () => console.log('Opened')); | |
client.open(dsn, () => console.log('Opened')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment