Hi,
I created a config with settings as in
var config = {
user= 'guest',
password= 'xxxx',
server= 'localhost\myDB',
connectionTimeout: 300000,
idleTimeoutMillis: 300000,
requestTimeout: 300000,
max: 100
}
I am able to connect and get data for other queries. When I tried accessing a relatively large data set I see that the request times out.
Even though I set the requestTimeout to 300000 as in the above config variable to connect using
service_config.sql.connect(service_config.config, function(err) { ....}
I get Timeout: Request failed to complete in 15000 ms.
I tried printing out the variable just before connecting and I see that it is 300000.
Did I miss out on anything or is requestTimeout not effective.
Please help.
Thanks,
Vijay
Hi,
I created a config with settings as in
var config = {
user= 'guest',
password= 'xxxx',
server= 'localhost\myDB',
connectionTimeout: 300000,
idleTimeoutMillis: 300000,
requestTimeout: 300000,
max: 100
}
I am able to connect and get data for other queries. When I tried accessing a relatively large data set I see that the request times out.
Even though I set the requestTimeout to 300000 as in the above config variable to connect using
service_config.sql.connect(service_config.config, function(err) { ....}
I get Timeout: Request failed to complete in 15000 ms.
I tried printing out the variable just before connecting and I see that it is 300000.
Did I miss out on anything or is requestTimeout not effective.
Please help.
Thanks,
Vijay