{"action":"created","issue":{"url":"https://api.github.com/repos/src-d/go-kallax/issues/245","repository_url":"https://api.github.com/repos/src-d/go-kallax","labels_url":"https://api.github.com/repos/src-d/go-kallax/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/src-d/go-kallax/issues/245/comments","events_url":"https://api.github.com/repos/src-d/go-kallax/issues/245/events","html_url":"https://github.com/src-d/go-kallax/issues/245","id":277744714,"number":245,"title":"Idle connections","user":{"login":"qJkee","id":13433317,"avatar_url":"https://avatars2.githubusercontent.com/u/13433317?v=4","gravatar_id":"","url":"https://api.github.com/users/qJkee","html_url":"https://github.com/qJkee","followers_url":"https://api.github.com/users/qJkee/followers","following_url":"https://api.github.com/users/qJkee/following{/other_user}","gists_url":"https://api.github.com/users/qJkee/gists{/gist_id}","starred_url":"https://api.github.com/users/qJkee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qJkee/subscriptions","organizations_url":"https://api.github.com/users/qJkee/orgs","repos_url":"https://api.github.com/users/qJkee/repos","events_url":"https://api.github.com/users/qJkee/events{/privacy}","received_events_url":"https://api.github.com/users/qJkee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-29T12:57:46Z","updated_at":"2017-12-11T11:29:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi! Right now, after using go-kallax, I've got idle connections, which is waiting for client read.\r\nAny ideas why? It's just a simple select for the entity, but it's blocking all application."},"comment":{"url":"https://api.github.com/repos/src-d/go-kallax/issues/comments/350698195","html_url":"https://github.com/src-d/go-kallax/issues/245#issuecomment-350698195","issue_url":"https://api.github.com/repos/src-d/go-kallax/issues/245","id":350698195,"user":{"login":"kamichidu","id":571248,"avatar_url":"https://avatars2.githubusercontent.com/u/571248?v=4","gravatar_id":"","url":"https://api.github.com/users/kamichidu","html_url":"https://github.com/kamichidu","followers_url":"https://api.github.com/users/kamichidu/followers","following_url":"https://api.github.com/users/kamichidu/following{/other_user}","gists_url":"https://api.github.com/users/kamichidu/gists{/gist_id}","starred_url":"https://api.github.com/users/kamichidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamichidu/subscriptions","organizations_url":"https://api.github.com/users/kamichidu/orgs","repos_url":"https://api.github.com/users/kamichidu/repos","events_url":"https://api.github.com/users/kamichidu/events{/privacy}","received_events_url":"https://api.github.com/users/kamichidu/received_events","type":"User","site_admin":false},"created_at":"2017-12-11T11:29:37Z","updated_at":"2017-12-11T11:29:37Z","author_association":"NONE","body":"See https://github.com/src-d/go-kallax/blob/master/generator/templates/model.tgo#L438\r\n\r\nIt seems to leak db connection.\r\n`defer rs.Close()` is expected in that function.\r\n\r\n@qJkee want to describe this problem?"}}
{"actor":{"display_login":"kamichidu"}}