node-mssql icon indicating copy to clipboard operation
node-mssql copied to clipboard

Add requestTimeout option in Connection String URI

Open rtorino opened this issue 8 years ago • 2 comments

We get Connection String URI from environment variable but we want override the default requestTimeout option and set it to 30000ms. Any idea on how to add it to the Connection String URI?

rtorino avatar Jan 30 '18 01:01 rtorino

Not that it is documented very well but it appears that in node-mssql/lib/connectionstring.js you can add a "request timeout=30000;" to your connection string

joneswah avatar Mar 13 '18 08:03 joneswah

Closed by #726

willmorgan avatar Oct 20 '18 10:10 willmorgan