{"action":"created","issue":{"url":"https://api.github.com/repos/tediousjs/tedious/issues/598","repository_url":"https://api.github.com/repos/tediousjs/tedious","labels_url":"https://api.github.com/repos/tediousjs/tedious/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/tediousjs/tedious/issues/598/comments","events_url":"https://api.github.com/repos/tediousjs/tedious/issues/598/events","html_url":"https://github.com/tediousjs/tedious/issues/598","id":239762759,"number":598,"title":"Request timeout error","user":{"login":"konekred","id":5044075,"avatar_url":"https://avatars3.githubusercontent.com/u/5044075?v=4","gravatar_id":"","url":"https://api.github.com/users/konekred","html_url":"https://github.com/konekred","followers_url":"https://api.github.com/users/konekred/followers","following_url":"https://api.github.com/users/konekred/following{/other_user}","gists_url":"https://api.github.com/users/konekred/gists{/gist_id}","starred_url":"https://api.github.com/users/konekred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konekred/subscriptions","organizations_url":"https://api.github.com/users/konekred/orgs","repos_url":"https://api.github.com/users/konekred/repos","events_url":"https://api.github.com/users/konekred/events{/privacy}","received_events_url":"https://api.github.com/users/konekred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-30T12:19:49Z","updated_at":"2017-08-18T17:25:43Z","closed_at":null,"body":"im getting this error\r\n```\r\nUnhandled rejection TimeoutError: ResourceRequest timed out\r\n    at ResourceRequest._fireTimeout (C:\\Users\\Office6-1\\Desktop\\every-matrix\\node_modules\\generic-pool\\lib\\ResourceRequest.js:58:17)\r\n    at Timeout.bound [as _onTimeout] (C:\\Users\\Office6-1\\Desktop\\every-matrix\\node_modules\\generic-pool\\lib\\ResourceRequest.js:8:15)\r\n    at ontimeout (timers.js:488:11)\r\n    at tryOnTimeout (timers.js:323:5)\r\n```\r\n\r\nconfig\r\n```\r\n    \"username\": \"sa\",\r\n    \"password\": \"somepassword\",\r\n    \"database\": \"SampleDB\",\r\n    \"host\": \"SAMPLE\",\r\n    \"dialect\": \"mssql\",\r\n    \"dialectOptions\": {\r\n      \"requestTimeout\": 0\r\n    },\r\n    \"pool\":{\r\n      \"maxConnections\": 100,\r\n      \"minConnections\": 1,\r\n      \"maxIdleTime\": 10000\r\n    }\r\n```\r\n\r\ncode\r\n```\r\nlet fs = require('fs')\r\nlet db = require('../models/index')\r\n\r\nfor (let i = 0; i < 100000; i++) {\r\n  db.Test.create({ data: 'this is a test data ('+ i +')' })\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/tediousjs/tedious/issues/comments/323412888","html_url":"https://github.com/tediousjs/tedious/issues/598#issuecomment-323412888","issue_url":"https://api.github.com/repos/tediousjs/tedious/issues/598","id":323412888,"user":{"login":"jeremyklein","id":3211217,"avatar_url":"https://avatars2.githubusercontent.com/u/3211217?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremyklein","html_url":"https://github.com/jeremyklein","followers_url":"https://api.github.com/users/jeremyklein/followers","following_url":"https://api.github.com/users/jeremyklein/following{/other_user}","gists_url":"https://api.github.com/users/jeremyklein/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyklein/subscriptions","organizations_url":"https://api.github.com/users/jeremyklein/orgs","repos_url":"https://api.github.com/users/jeremyklein/repos","events_url":"https://api.github.com/users/jeremyklein/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyklein/received_events","type":"User","site_admin":false},"created_at":"2017-08-18T17:25:43Z","updated_at":"2017-08-18T17:25:43Z","body":"I believe I am running into a similar issue. That config option looks like one from Sequelize. Is this the case? One thing that worked for me was upping the max connections. Do you have the same issue if it is set to 100000?"}}
{"actor":{"display_login":"jeremyklein"}}