{"action":"closed","issue":{"url":"https://api.github.com/repos/myndzi/pool2/issues/16","labels_url":"https://api.github.com/repos/myndzi/pool2/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/myndzi/pool2/issues/16/comments","events_url":"https://api.github.com/repos/myndzi/pool2/issues/16/events","html_url":"https://github.com/myndzi/pool2/issues/16","id":97912271,"number":16,"title":"Feature request: Auto-reconnect","user":{"login":"danielgindi","id":366926,"avatar_url":"https://avatars.githubusercontent.com/u/366926?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgindi","html_url":"https://github.com/danielgindi","followers_url":"https://api.github.com/users/danielgindi/followers","following_url":"https://api.github.com/users/danielgindi/following{/other_user}","gists_url":"https://api.github.com/users/danielgindi/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgindi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgindi/subscriptions","organizations_url":"https://api.github.com/users/danielgindi/orgs","repos_url":"https://api.github.com/users/danielgindi/repos","events_url":"https://api.github.com/users/danielgindi/events{/privacy}","received_events_url":"https://api.github.com/users/danielgindi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-07-29T11:00:14Z","updated_at":"2015-08-17T14:45:53Z","closed_at":"2015-08-17T14:45:53Z","body":"If I want to instantiate a \"knex\" object, which is using *pool2*, and want to make sure that if it fails to connect it will reestablish the connections in the pool - I have to write a lot of extra code.\r\n\r\nCurrently the code destroys the pool if it never managed to allocate a resource, but maybe we want it to not destroy, but try again..."}}