{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/chronicle/issues/215","labels_url":"https://api.github.com/repos/mozilla/chronicle/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/chronicle/issues/215/comments","events_url":"https://api.github.com/repos/mozilla/chronicle/issues/215/events","html_url":"https://github.com/mozilla/chronicle/pull/215","id":55352108,"number":215,"title":"fix(db): closing some db pool connections","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-24T00:56:57Z","updated_at":"2015-01-24T00:57:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/chronicle/pulls/215","html_url":"https://github.com/mozilla/chronicle/pull/215","diff_url":"https://github.com/mozilla/chronicle/pull/215.diff","patch_url":"https://github.com/mozilla/chronicle/pull/215.patch"},"body":"Closes some unclosed Postgres pool connections. A quick search shows 9 instances of `done)` arguments and an equal number of `done()` callback invocations.\r\n\r\n> **note:** if you do not call `done()` the client will never be returned to the pool and you will leak clients. This is mega-bad so always call `done()`\r\n> &mdash; via https://github.com/brianc/node-postgres/wiki/pg#connectfunction-callback\r\n\r\nFixes #213 "},"comment":{"url":"https://api.github.com/repos/mozilla/chronicle/issues/comments/71291934","html_url":"https://github.com/mozilla/chronicle/pull/215#issuecomment-71291934","issue_url":"https://api.github.com/repos/mozilla/chronicle/issues/215","id":71291934,"user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T00:57:35Z","updated_at":"2015-01-24T00:57:35Z","body":"r? @6a68 "}}