Azure/node-sqlserver

Permit specification of connection and command timeout

NoelAbrahams opened this issue · 0 comments

Hi,

We're having problems with an Azure deployment where the connections are failing occasionally with TCP Provider: Timeout error [258].

Most of the time the connection succeeds immediately when retried.

The problem is that before the timeout error is thrown, there is a lapse of some 15 - 20 seconds, which is too long from a usability point of view.

I'd like to shorten this timeout to say 5 seconds, but there doesn't seem to be a way to do that.