{"action":"created","issue":{"url":"https://api.github.com/repos/coopernurse/node-pool/issues/173","repository_url":"https://api.github.com/repos/coopernurse/node-pool","labels_url":"https://api.github.com/repos/coopernurse/node-pool/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/coopernurse/node-pool/issues/173/comments","events_url":"https://api.github.com/repos/coopernurse/node-pool/issues/173/events","html_url":"https://github.com/coopernurse/node-pool/pull/173","id":197408522,"number":173,"title":"pool.destroy didn't re-dispense resources","user":{"login":"binux","id":646451,"avatar_url":"https://avatars.githubusercontent.com/u/646451?v=3","gravatar_id":"","url":"https://api.github.com/users/binux","html_url":"https://github.com/binux","followers_url":"https://api.github.com/users/binux/followers","following_url":"https://api.github.com/users/binux/following{/other_user}","gists_url":"https://api.github.com/users/binux/gists{/gist_id}","starred_url":"https://api.github.com/users/binux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binux/subscriptions","organizations_url":"https://api.github.com/users/binux/orgs","repos_url":"https://api.github.com/users/binux/repos","events_url":"https://api.github.com/users/binux/events{/privacy}","received_events_url":"https://api.github.com/users/binux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sandfox","id":260919,"avatar_url":"https://avatars.githubusercontent.com/u/260919?v=3","gravatar_id":"","url":"https://api.github.com/users/sandfox","html_url":"https://github.com/sandfox","followers_url":"https://api.github.com/users/sandfox/followers","following_url":"https://api.github.com/users/sandfox/following{/other_user}","gists_url":"https://api.github.com/users/sandfox/gists{/gist_id}","starred_url":"https://api.github.com/users/sandfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandfox/subscriptions","organizations_url":"https://api.github.com/users/sandfox/orgs","repos_url":"https://api.github.com/users/sandfox/repos","events_url":"https://api.github.com/users/sandfox/events{/privacy}","received_events_url":"https://api.github.com/users/sandfox/received_events","type":"User","site_admin":false},"assignees":[{"login":"sandfox","id":260919,"avatar_url":"https://avatars.githubusercontent.com/u/260919?v=3","gravatar_id":"","url":"https://api.github.com/users/sandfox","html_url":"https://github.com/sandfox","followers_url":"https://api.github.com/users/sandfox/followers","following_url":"https://api.github.com/users/sandfox/following{/other_user}","gists_url":"https://api.github.com/users/sandfox/gists{/gist_id}","starred_url":"https://api.github.com/users/sandfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandfox/subscriptions","organizations_url":"https://api.github.com/users/sandfox/orgs","repos_url":"https://api.github.com/users/sandfox/repos","events_url":"https://api.github.com/users/sandfox/events{/privacy}","received_events_url":"https://api.github.com/users/sandfox/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-23T18:05:42Z","updated_at":"2016-12-28T12:14:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coopernurse/node-pool/pulls/173","html_url":"https://github.com/coopernurse/node-pool/pull/173","diff_url":"https://github.com/coopernurse/node-pool/pull/173.diff","patch_url":"https://github.com/coopernurse/node-pool/pull/173.patch"},"body":"1. pool.acquire() twice\r\n2. pool.destroy() the first resource\r\n3. the second promise will never get resources till any other api triggered pool._dispense again (e.g. another `pool.acquire()`).\r\n\r\nshould dispense immediately after resources destroyed "},"comment":{"url":"https://api.github.com/repos/coopernurse/node-pool/issues/comments/269469176","html_url":"https://github.com/coopernurse/node-pool/pull/173#issuecomment-269469176","issue_url":"https://api.github.com/repos/coopernurse/node-pool/issues/173","id":269469176,"user":{"login":"sandfox","id":260919,"avatar_url":"https://avatars.githubusercontent.com/u/260919?v=3","gravatar_id":"","url":"https://api.github.com/users/sandfox","html_url":"https://github.com/sandfox","followers_url":"https://api.github.com/users/sandfox/followers","following_url":"https://api.github.com/users/sandfox/following{/other_user}","gists_url":"https://api.github.com/users/sandfox/gists{/gist_id}","starred_url":"https://api.github.com/users/sandfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandfox/subscriptions","organizations_url":"https://api.github.com/users/sandfox/orgs","repos_url":"https://api.github.com/users/sandfox/repos","events_url":"https://api.github.com/users/sandfox/events{/privacy}","received_events_url":"https://api.github.com/users/sandfox/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T12:14:13Z","updated_at":"2016-12-28T12:14:13Z","body":"thanks for this (and fixing up the linting). I'll try and have a proper look and get this merged soon."}}
{"actor":{"display_login":"sandfox"}}