{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/event-store/issues/4","labels_url":"https://api.github.com/repos/alphagov/event-store/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/event-store/issues/4/comments","events_url":"https://api.github.com/repos/alphagov/event-store/issues/4/events","html_url":"https://github.com/alphagov/event-store/pull/4","id":56817217,"number":4,"title":"Handle mongo disconnections","user":{"login":"jabley","id":16205,"avatar_url":"https://avatars.githubusercontent.com/u/16205?v=3","gravatar_id":"","url":"https://api.github.com/users/jabley","html_url":"https://github.com/jabley","followers_url":"https://api.github.com/users/jabley/followers","following_url":"https://api.github.com/users/jabley/following{/other_user}","gists_url":"https://api.github.com/users/jabley/gists{/gist_id}","starred_url":"https://api.github.com/users/jabley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabley/subscriptions","organizations_url":"https://api.github.com/users/jabley/orgs","repos_url":"https://api.github.com/users/jabley/repos","events_url":"https://api.github.com/users/jabley/events{/privacy}","received_events_url":"https://api.github.com/users/jabley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T14:23:58Z","updated_at":"2015-06-09T12:36:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/event-store/pulls/4","html_url":"https://github.com/alphagov/event-store/pull/4","diff_url":"https://github.com/alphagov/event-store/pull/4.diff","patch_url":"https://github.com/alphagov/event-store/pull/4.patch"},"body":"Using a single session means that if the connection to mongo is\ndisrupted, the app will need restarting to work again. This change means\nthat multiple connections are used, and it will attempt to autoconnect\nif there is a problem with mongo."},"comment":{"url":"https://api.github.com/repos/alphagov/event-store/issues/comments/110342791","html_url":"https://github.com/alphagov/event-store/pull/4#issuecomment-110342791","issue_url":"https://api.github.com/repos/alphagov/event-store/issues/4","id":110342791,"user":{"login":"alexmuller","id":121219,"avatar_url":"https://avatars.githubusercontent.com/u/121219?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmuller","html_url":"https://github.com/alexmuller","followers_url":"https://api.github.com/users/alexmuller/followers","following_url":"https://api.github.com/users/alexmuller/following{/other_user}","gists_url":"https://api.github.com/users/alexmuller/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmuller/subscriptions","organizations_url":"https://api.github.com/users/alexmuller/orgs","repos_url":"https://api.github.com/users/alexmuller/repos","events_url":"https://api.github.com/users/alexmuller/events{/privacy}","received_events_url":"https://api.github.com/users/alexmuller/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T12:36:30Z","updated_at":"2015-06-09T12:36:30Z","body":"@jabley: Thanks :heart_decoration:\r\n\r\nI'd been meaning to look into why the app disconnects whenever Mongo is rebooted and stays broken. I don't know if I understand enough about what this code does though."}}