{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/trapperkeeper/issues/224","repository_url":"https://api.github.com/repos/puppetlabs/trapperkeeper","labels_url":"https://api.github.com/repos/puppetlabs/trapperkeeper/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/trapperkeeper/issues/224/comments","events_url":"https://api.github.com/repos/puppetlabs/trapperkeeper/issues/224/events","html_url":"https://github.com/puppetlabs/trapperkeeper/pull/224","id":141086790,"number":224,"title":"(TK-330) move main shutdown logic to core async worker","user":{"login":"cprice404","id":1341071,"avatar_url":"https://avatars.githubusercontent.com/u/1341071?v=3","gravatar_id":"","url":"https://api.github.com/users/cprice404","html_url":"https://github.com/cprice404","followers_url":"https://api.github.com/users/cprice404/followers","following_url":"https://api.github.com/users/cprice404/following{/other_user}","gists_url":"https://api.github.com/users/cprice404/gists{/gist_id}","starred_url":"https://api.github.com/users/cprice404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cprice404/subscriptions","organizations_url":"https://api.github.com/users/cprice404/orgs","repos_url":"https://api.github.com/users/cprice404/repos","events_url":"https://api.github.com/users/cprice404/events{/privacy}","received_events_url":"https://api.github.com/users/cprice404/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-15T20:17:08Z","updated_at":"2016-03-21T16:59:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/trapperkeeper/pulls/224","html_url":"https://github.com/puppetlabs/trapperkeeper/pull/224","diff_url":"https://github.com/puppetlabs/trapperkeeper/pull/224.diff","patch_url":"https://github.com/puppetlabs/trapperkeeper/pull/224.patch"},"body":"This commit moves the \"main\" shutdown/stop logic off of the main\r\nthread and onto the core.async worker thread.  This ensures that\r\nwe don't end up in a situation where we have restarts queued up\r\nand then an error occurs and causes the situation where we have\r\nlifecycle activity going on on the async worker thread while\r\nthe main thread is also trying to perform the shutdown tasks.\r\n"},"comment":{"url":"https://api.github.com/repos/puppetlabs/trapperkeeper/issues/comments/199379305","html_url":"https://github.com/puppetlabs/trapperkeeper/pull/224#issuecomment-199379305","issue_url":"https://api.github.com/repos/puppetlabs/trapperkeeper/issues/224","id":199379305,"user":{"login":"camlow325","id":5652737,"avatar_url":"https://avatars.githubusercontent.com/u/5652737?v=3","gravatar_id":"","url":"https://api.github.com/users/camlow325","html_url":"https://github.com/camlow325","followers_url":"https://api.github.com/users/camlow325/followers","following_url":"https://api.github.com/users/camlow325/following{/other_user}","gists_url":"https://api.github.com/users/camlow325/gists{/gist_id}","starred_url":"https://api.github.com/users/camlow325/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camlow325/subscriptions","organizations_url":"https://api.github.com/users/camlow325/orgs","repos_url":"https://api.github.com/users/camlow325/repos","events_url":"https://api.github.com/users/camlow325/events{/privacy}","received_events_url":"https://api.github.com/users/camlow325/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T16:59:20Z","updated_at":"2016-03-21T16:59:20Z","body":":+1: "}}