{"action":"opened","issue":{"url":"https://api.github.com/repos/devinit/ddw-analyst-ui/issues/2","labels_url":"https://api.github.com/repos/devinit/ddw-analyst-ui/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/devinit/ddw-analyst-ui/issues/2/comments","events_url":"https://api.github.com/repos/devinit/ddw-analyst-ui/issues/2/events","html_url":"https://github.com/devinit/ddw-analyst-ui/issues/2","id":128838398,"number":2,"title":"closing the database","user":{"login":"vitaly-t","id":5108906,"avatar_url":"https://avatars.githubusercontent.com/u/5108906?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-t","html_url":"https://github.com/vitaly-t","followers_url":"https://api.github.com/users/vitaly-t/followers","following_url":"https://api.github.com/users/vitaly-t/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-t/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-t/subscriptions","organizations_url":"https://api.github.com/users/vitaly-t/orgs","repos_url":"https://api.github.com/users/vitaly-t/repos","events_url":"https://api.github.com/users/vitaly-t/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-26T14:34:21Z","updated_at":"2016-01-26T14:34:21Z","closed_at":null,"body":">db.end(); // exit when database callbacks finish, otherwise we sit and wait forever?\r\n\r\nNot forever, see [Library de-initialization](https://github.com/vitaly-t/pg-promise#library-de-initialization)\r\n\r\n"}}