tedious.js设置requestTimeout = 0但仍然超时

时间:2015-08-22 02:24:25

标签: node.js tedious

我有这个配置文件:

{
  "userName": "user",
  "password": "pass",
  "server": "shrd-cw",

  "options": {
    "encrypt": true,
    "requestTimeout": 0
  }
}

但是,我仍然收到requestTimeout错误:

{ [RequestError: Timeout: Request failed to complete in 15000ms]
  name: 'RequestError',
  message: 'Timeout: Request failed to complete in 15000ms',
  code: 'ETIMEOUT' }

0 个答案:

没有答案