You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to open a connection and performance is extremely important to me. It takes around 15 seconds to open a connection every 10th or 12th time on my system.
Any help or guidance on why it is taking so much time randomly but not always?
(I have experimented with open and openSync but both result in the same issue).
var ibmdb = require("ibm_db");
var connectionStringDB2 = "credentials.."
var start = new Date().getTime();
ibmdb.open(connectionStringDB2, function(err, conn){
console.log("time: " + (new Date().getTime() - start));
})
Hi,
I am trying to open a connection and performance is extremely important to me. It takes around 15 seconds to open a connection every 10th or 12th time on my system.
Any help or guidance on why it is taking so much time randomly but not always?
(I have experimented with open and openSync but both result in the same issue).
Here is snippet code and output.
issues.txt
//Code
//Output running test script 10 times
The text was updated successfully, but these errors were encountered: