Title: Connections not closed when an error occurs in module level query and queryRaw · Issue #121 · Azure/node-sqlserver · GitHub
Open Graph Title: Connections not closed when an error occurs in module level query and queryRaw · Issue #121 · Azure/node-sqlserver
X Title: Connections not closed when an error occurs in module level query and queryRaw · Issue #121 · Azure/node-sqlserver
Description: Connections are not closed when using the module level query and queryRaw functions. An erroneous query will leave the connection open until it is collected by node.js. This can be a while, resulting in timeouts in Windows Azure SQL Data...
Open Graph Description: Connections are not closed when using the module level query and queryRaw functions. An erroneous query will leave the connection open until it is collected by node.js. This can be a while, resulti...
X Description: Connections are not closed when using the module level query and queryRaw functions. An erroneous query will leave the connection open until it is collected by node.js. This can be a while, resulti...
Opengraph URL: https://github.com/Azure/node-sqlserver/issues/121
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Connections not closed when an error occurs in module level query and queryRaw","articleBody":"Connections are not closed when using the module level query and queryRaw functions. An erroneous query will leave the connection open until it is collected by node.js. This can be a while, resulting in timeouts in Windows Azure SQL Database.\n\n```\nvar sql=require('msnodesql');\nvar assert = require('assert');\nvar connectionString = \"...\";\n\nsql.query( connectionString, \"This is not a valid query\", function( err, results ) {\n\n // an error will leave the connection open\n if( err ) {\n console.log( err );\n return;\n }\n\n console.log( results );\n});\n```\n","author":{"url":"https://github.com/jkint","@type":"Person","name":"jkint"},"datePublished":"2013-03-20T17:42:45Z","url":"https://github.com/Azure/node-sqlserver/issues/121"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3946ed22-6bb7-0201-5b7e-5fba6ee59149 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 901E:327CBE:D3E67B:12A3F6C:6AFB62B0 |
| html-safe-nonce | d71f39fbd00e617e55466164f7b072d7120b07ffba1b856522509a603d908541 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDFFOjMyN0NCRTpEM0U2N0I6MTJBM0Y2Qzo2QUZCNjJCMCIsInZpc2l0b3JfaWQiOiI2NTQ2NzM4MTIwNDUwODU5Njk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c8f55b6838770f12c164a285cdcf8e76580b7813db6f30df1f1dad458a23f21e |
| hovercard-subject-tag | issue:12239241 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Azure/node-sqlserver/121/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ad108fc0e7c24ddc2dceccb06c7db9ea67b78483576bc56117dad779bc916c6/Azure/node-sqlserver/issues/121 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ad108fc0e7c24ddc2dceccb06c7db9ea67b78483576bc56117dad779bc916c6/Azure/node-sqlserver/issues/121 |
| og:image:alt | Connections are not closed when using the module level query and queryRaw functions. An erroneous query will leave the connection open until it is collected by node.js. This can be a while, resulti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jkint |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| go-import | github.com/Azure/node-sqlserver git https://github.com/Azure/node-sqlserver.git |
| octolytics-dimension-user_id | 6844498 |
| octolytics-dimension-user_login | Azure |
| octolytics-dimension-repository_id | 3603910 |
| octolytics-dimension-repository_nwo | Azure/node-sqlserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3603910 |
| octolytics-dimension-repository_network_root_nwo | Azure/node-sqlserver |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width