{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/worker/issues/69","labels_url":"https://api.github.com/repos/travis-ci/worker/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/worker/issues/69/comments","events_url":"https://api.github.com/repos/travis-ci/worker/issues/69/events","html_url":"https://github.com/travis-ci/worker/pull/69","id":101481942,"number":69,"title":"processor: check if we're shutting down before picking up job","user":{"login":"henrikhodne","id":24421,"avatar_url":"https://avatars.githubusercontent.com/u/24421?v=3","gravatar_id":"","url":"https://api.github.com/users/henrikhodne","html_url":"https://github.com/henrikhodne","followers_url":"https://api.github.com/users/henrikhodne/followers","following_url":"https://api.github.com/users/henrikhodne/following{/other_user}","gists_url":"https://api.github.com/users/henrikhodne/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikhodne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikhodne/subscriptions","organizations_url":"https://api.github.com/users/henrikhodne/orgs","repos_url":"https://api.github.com/users/henrikhodne/repos","events_url":"https://api.github.com/users/henrikhodne/events{/privacy}","received_events_url":"https://api.github.com/users/henrikhodne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T18:29:54Z","updated_at":"2015-08-19T00:50:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/travis-ci/worker/pulls/69","html_url":"https://github.com/travis-ci/worker/pull/69","diff_url":"https://github.com/travis-ci/worker/pull/69.diff","patch_url":"https://github.com/travis-ci/worker/pull/69.patch"},"body":"If more than one case branch in a select statement can proceed, one is picked at random, which I think is the cause for graceful and forceful shutdown not to work a lot of times."},"comment":{"url":"https://api.github.com/repos/travis-ci/worker/issues/comments/132405007","html_url":"https://github.com/travis-ci/worker/pull/69#issuecomment-132405007","issue_url":"https://api.github.com/repos/travis-ci/worker/issues/69","id":132405007,"user":{"login":"meatballhat","id":45143,"avatar_url":"https://avatars.githubusercontent.com/u/45143?v=3","gravatar_id":"","url":"https://api.github.com/users/meatballhat","html_url":"https://github.com/meatballhat","followers_url":"https://api.github.com/users/meatballhat/followers","following_url":"https://api.github.com/users/meatballhat/following{/other_user}","gists_url":"https://api.github.com/users/meatballhat/gists{/gist_id}","starred_url":"https://api.github.com/users/meatballhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meatballhat/subscriptions","organizations_url":"https://api.github.com/users/meatballhat/orgs","repos_url":"https://api.github.com/users/meatballhat/repos","events_url":"https://api.github.com/users/meatballhat/events{/privacy}","received_events_url":"https://api.github.com/users/meatballhat/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T00:50:26Z","updated_at":"2015-08-19T00:50:26Z","body":"Discussed in meatspace.  :+1:"}}