{"action":"created","issue":{"url":"https://api.github.com/repos/nchaulet/node-geocoder/issues/139","labels_url":"https://api.github.com/repos/nchaulet/node-geocoder/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/nchaulet/node-geocoder/issues/139/comments","events_url":"https://api.github.com/repos/nchaulet/node-geocoder/issues/139/events","html_url":"https://github.com/nchaulet/node-geocoder/issues/139","id":119525710,"number":139,"title":"Hangs randomly","user":{"login":"ir-fuel","id":1573715,"avatar_url":"https://avatars.githubusercontent.com/u/1573715?v=3","gravatar_id":"","url":"https://api.github.com/users/ir-fuel","html_url":"https://github.com/ir-fuel","followers_url":"https://api.github.com/users/ir-fuel/followers","following_url":"https://api.github.com/users/ir-fuel/following{/other_user}","gists_url":"https://api.github.com/users/ir-fuel/gists{/gist_id}","starred_url":"https://api.github.com/users/ir-fuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ir-fuel/subscriptions","organizations_url":"https://api.github.com/users/ir-fuel/orgs","repos_url":"https://api.github.com/users/ir-fuel/repos","events_url":"https://api.github.com/users/ir-fuel/events{/privacy}","received_events_url":"https://api.github.com/users/ir-fuel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-30T16:19:08Z","updated_at":"2015-11-30T19:57:25Z","closed_at":null,"body":"Hi\r\n\r\nI am using this lib to geocode a whole bunch of addresses using google (with an API Key and I pay for extra requests). What happens is that at random times the call to the geocoder just hangs. It doesn't time out, it doesn't give an error. It just hangs forever. The problem is that it is not reproducible. It does not happen on a specific address, just after a certain amount of calls."},"comment":{"url":"https://api.github.com/repos/nchaulet/node-geocoder/issues/comments/160741084","html_url":"https://github.com/nchaulet/node-geocoder/issues/139#issuecomment-160741084","issue_url":"https://api.github.com/repos/nchaulet/node-geocoder/issues/139","id":160741084,"user":{"login":"ir-fuel","id":1573715,"avatar_url":"https://avatars.githubusercontent.com/u/1573715?v=3","gravatar_id":"","url":"https://api.github.com/users/ir-fuel","html_url":"https://github.com/ir-fuel","followers_url":"https://api.github.com/users/ir-fuel/followers","following_url":"https://api.github.com/users/ir-fuel/following{/other_user}","gists_url":"https://api.github.com/users/ir-fuel/gists{/gist_id}","starred_url":"https://api.github.com/users/ir-fuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ir-fuel/subscriptions","organizations_url":"https://api.github.com/users/ir-fuel/orgs","repos_url":"https://api.github.com/users/ir-fuel/repos","events_url":"https://api.github.com/users/ir-fuel/events{/privacy}","received_events_url":"https://api.github.com/users/ir-fuel/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T19:57:24Z","updated_at":"2015-11-30T19:57:24Z","body":"I changed some code in `httpadapter.js`\r\n\r\n```\r\n  if(typeof options.timeout !== 'undefined') {\r\n    request.setTimeout(options.timeout);\r\n  }\r\n  else {\r\n    request.setTimeout(30000);\r\n  }\r\n```\r\n\r\nBecause I see no way of passing the request timeout through the provided geocoder api. I'll see if this helps in unblocking the situation."}}