{"action":"created","issue":{"url":"https://api.github.com/repos/openprovider/whoisd/issues/2","repository_url":"https://api.github.com/repos/openprovider/whoisd","labels_url":"https://api.github.com/repos/openprovider/whoisd/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/openprovider/whoisd/issues/2/comments","events_url":"https://api.github.com/repos/openprovider/whoisd/issues/2/events","html_url":"https://github.com/openprovider/whoisd/pull/2","id":182821443,"number":2,"title":"Ensure database connection is closed, so we avoid leaking mysql connections","user":{"login":"ereslibre","id":8706,"avatar_url":"https://avatars.githubusercontent.com/u/8706?v=3","gravatar_id":"","url":"https://api.github.com/users/ereslibre","html_url":"https://github.com/ereslibre","followers_url":"https://api.github.com/users/ereslibre/followers","following_url":"https://api.github.com/users/ereslibre/following{/other_user}","gists_url":"https://api.github.com/users/ereslibre/gists{/gist_id}","starred_url":"https://api.github.com/users/ereslibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ereslibre/subscriptions","organizations_url":"https://api.github.com/users/ereslibre/orgs","repos_url":"https://api.github.com/users/ereslibre/repos","events_url":"https://api.github.com/users/ereslibre/events{/privacy}","received_events_url":"https://api.github.com/users/ereslibre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-13T15:25:24Z","updated_at":"2016-10-13T15:33:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openprovider/whoisd/pulls/2","html_url":"https://github.com/openprovider/whoisd/pull/2","diff_url":"https://github.com/openprovider/whoisd/pull/2.diff","patch_url":"https://github.com/openprovider/whoisd/pull/2.patch"},"body":"On `searchRaw` function a new mysql connection is opened every time, but never closed, leaking connections and hitting mysql server connection limit very fast.\r\n\r\nEnsure db is closed by deferring the call right after we connect and didn't find any errors."},"comment":{"url":"https://api.github.com/repos/openprovider/whoisd/issues/comments/253549513","html_url":"https://github.com/openprovider/whoisd/pull/2#issuecomment-253549513","issue_url":"https://api.github.com/repos/openprovider/whoisd/issues/2","id":253549513,"user":{"login":"ereslibre","id":8706,"avatar_url":"https://avatars.githubusercontent.com/u/8706?v=3","gravatar_id":"","url":"https://api.github.com/users/ereslibre","html_url":"https://github.com/ereslibre","followers_url":"https://api.github.com/users/ereslibre/followers","following_url":"https://api.github.com/users/ereslibre/following{/other_user}","gists_url":"https://api.github.com/users/ereslibre/gists{/gist_id}","starred_url":"https://api.github.com/users/ereslibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ereslibre/subscriptions","organizations_url":"https://api.github.com/users/ereslibre/orgs","repos_url":"https://api.github.com/users/ereslibre/repos","events_url":"https://api.github.com/users/ereslibre/events{/privacy}","received_events_url":"https://api.github.com/users/ereslibre/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T15:33:19Z","updated_at":"2016-10-13T15:33:19Z","body":"Done !"}}
{"actor":{"display_login":"ereslibre"}}