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
Hello,
even Connection.close is not really required, I would like to be sure that all resources are freed, when db access is not longer used. In my use case I will create a connection every 10 minutes to write sensor data into the db.
I get the following error node v6.9.1 /node_modules/cradle/lib/cradle.js:173 this.agent.sockets.forEach(function (socket) { ^ TypeError: this.agent.sockets.forEach is not a function at Connection.cradle.Connection.close (.../node_modules/cradle/lib/cradle.js:173:22)
My dependency tree is posted here: http://pastebin.com/ZcvLjgqP
Best Regards,
René
The text was updated successfully, but these errors were encountered:
Hello,
even Connection.close is not really required, I would like to be sure that all resources are freed, when db access is not longer used. In my use case I will create a connection every 10 minutes to write sensor data into the db.
I get the following error node v6.9.1
/node_modules/cradle/lib/cradle.js:173 this.agent.sockets.forEach(function (socket) { ^ TypeError: this.agent.sockets.forEach is not a function at Connection.cradle.Connection.close (.../node_modules/cradle/lib/cradle.js:173:22)
My dependency tree is posted here:
http://pastebin.com/ZcvLjgqP
Best Regards,
René
The text was updated successfully, but these errors were encountered: