{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/specialist-publisher/issues/702","repository_url":"https://api.github.com/repos/alphagov/specialist-publisher","labels_url":"https://api.github.com/repos/alphagov/specialist-publisher/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher/issues/702/comments","events_url":"https://api.github.com/repos/alphagov/specialist-publisher/issues/702/events","html_url":"https://github.com/alphagov/specialist-publisher/pull/702","id":148397995,"number":702,"title":"Add worker to publish specialist documents in background","user":{"login":"mathildathompson","id":3854347,"avatar_url":"https://avatars.githubusercontent.com/u/3854347?v=3","gravatar_id":"","url":"https://api.github.com/users/mathildathompson","html_url":"https://github.com/mathildathompson","followers_url":"https://api.github.com/users/mathildathompson/followers","following_url":"https://api.github.com/users/mathildathompson/following{/other_user}","gists_url":"https://api.github.com/users/mathildathompson/gists{/gist_id}","starred_url":"https://api.github.com/users/mathildathompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathildathompson/subscriptions","organizations_url":"https://api.github.com/users/mathildathompson/orgs","repos_url":"https://api.github.com/users/mathildathompson/repos","events_url":"https://api.github.com/users/mathildathompson/events{/privacy}","received_events_url":"https://api.github.com/users/mathildathompson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-14T15:25:59Z","updated_at":"2016-04-14T20:47:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/specialist-publisher/pulls/702","html_url":"https://github.com/alphagov/specialist-publisher/pull/702","diff_url":"https://github.com/alphagov/specialist-publisher/pull/702.diff","patch_url":"https://github.com/alphagov/specialist-publisher/pull/702.patch"},"body":"- publishing_api:publish_documents_as_placeholders rake task was timing out because the connection to MongoDB shut down;\r\n- To solve this, the request to publishing-api was extracted into background sidekiq worker;\r\n- [Trello Card](https://trello.com/c/3TVLuEPC/14-import-all-the-old-specialist-publisher-documents-into-the-new-version-of-specialist-publisher)"},"comment":{"url":"https://api.github.com/repos/alphagov/specialist-publisher/issues/comments/210142595","html_url":"https://github.com/alphagov/specialist-publisher/pull/702#issuecomment-210142595","issue_url":"https://api.github.com/repos/alphagov/specialist-publisher/issues/702","id":210142595,"user":{"login":"boffbowsh","id":18276,"avatar_url":"https://avatars.githubusercontent.com/u/18276?v=3","gravatar_id":"","url":"https://api.github.com/users/boffbowsh","html_url":"https://github.com/boffbowsh","followers_url":"https://api.github.com/users/boffbowsh/followers","following_url":"https://api.github.com/users/boffbowsh/following{/other_user}","gists_url":"https://api.github.com/users/boffbowsh/gists{/gist_id}","starred_url":"https://api.github.com/users/boffbowsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boffbowsh/subscriptions","organizations_url":"https://api.github.com/users/boffbowsh/orgs","repos_url":"https://api.github.com/users/boffbowsh/repos","events_url":"https://api.github.com/users/boffbowsh/events{/privacy}","received_events_url":"https://api.github.com/users/boffbowsh/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T20:47:39Z","updated_at":"2016-04-14T20:47:39Z","body":"Can you please add a bit more context about the issues with the MongoDB connection? Under what circumstances does that happen? Is it a common problem?"}}