{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/eggjs/egg-cluster/pulls/27","id":122494782,"html_url":"https://github.com/eggjs/egg-cluster/pull/27","diff_url":"https://github.com/eggjs/egg-cluster/pull/27.diff","patch_url":"https://github.com/eggjs/egg-cluster/pull/27.patch","issue_url":"https://api.github.com/repos/eggjs/egg-cluster/issues/27","number":27,"state":"closed","locked":false,"title":"fix: agent should exit on disconnect event whatever master kill with SIGKILL","user":{"login":"fengmk2","id":156269,"avatar_url":"https://avatars3.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"body":"closes https://github.com/eggjs/egg/issues/960\r\n\r\n<!--\r\nThank you for your pull request. Please review below requirements.\r\nBug fixes and new features should include tests and possibly benchmarks.\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n\r\n感谢您贡献代码。请确认下列 checklist 的完成情况。\r\nBug 修复和新功能必须包含测试，必要时请附上性能测试。\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [ ] `npm test` passes\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] documentation is changed or added\r\n- [ ] commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n<!-- Provide affected core subsystem(s). -->\r\n\r\n\r\n##### Description of change\r\n<!-- Provide a description of the change below this comment. -->\r\n","created_at":"2017-05-25T18:15:47Z","updated_at":"2017-05-28T09:39:23Z","closed_at":"2017-05-28T09:39:23Z","merged_at":"2017-05-28T09:39:23Z","merge_commit_sha":"13fa85459c980e96d791edba57ba32a4d8d1093b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"popomore","id":360661,"avatar_url":"https://avatars2.githubusercontent.com/u/360661?v=3","gravatar_id":"","url":"https://api.github.com/users/popomore","html_url":"https://github.com/popomore","followers_url":"https://api.github.com/users/popomore/followers","following_url":"https://api.github.com/users/popomore/following{/other_user}","gists_url":"https://api.github.com/users/popomore/gists{/gist_id}","starred_url":"https://api.github.com/users/popomore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popomore/subscriptions","organizations_url":"https://api.github.com/users/popomore/orgs","repos_url":"https://api.github.com/users/popomore/repos","events_url":"https://api.github.com/users/popomore/events{/privacy}","received_events_url":"https://api.github.com/users/popomore/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/eggjs/egg-cluster/pulls/27/commits","review_comments_url":"https://api.github.com/repos/eggjs/egg-cluster/pulls/27/comments","review_comment_url":"https://api.github.com/repos/eggjs/egg-cluster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eggjs/egg-cluster/issues/27/comments","statuses_url":"https://api.github.com/repos/eggjs/egg-cluster/statuses/e71d5dcd806b100adc3a16e316255685266cd248","head":{"label":"eggjs:agent-disconnect","ref":"agent-disconnect","sha":"e71d5dcd806b100adc3a16e316255685266cd248","user":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars2.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":61421551,"name":"egg-cluster","full_name":"eggjs/egg-cluster","owner":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars2.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggjs/egg-cluster","description":"cluster manager for egg","fork":false,"url":"https://api.github.com/repos/eggjs/egg-cluster","forks_url":"https://api.github.com/repos/eggjs/egg-cluster/forks","keys_url":"https://api.github.com/repos/eggjs/egg-cluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/egg-cluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/egg-cluster/teams","hooks_url":"https://api.github.com/repos/eggjs/egg-cluster/hooks","issue_events_url":"https://api.github.com/repos/eggjs/egg-cluster/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/egg-cluster/events","assignees_url":"https://api.github.com/repos/eggjs/egg-cluster/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/egg-cluster/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/egg-cluster/tags","blobs_url":"https://api.github.com/repos/eggjs/egg-cluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/egg-cluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/egg-cluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/egg-cluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/egg-cluster/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/egg-cluster/languages","stargazers_url":"https://api.github.com/repos/eggjs/egg-cluster/stargazers","contributors_url":"https://api.github.com/repos/eggjs/egg-cluster/contributors","subscribers_url":"https://api.github.com/repos/eggjs/egg-cluster/subscribers","subscription_url":"https://api.github.com/repos/eggjs/egg-cluster/subscription","commits_url":"https://api.github.com/repos/eggjs/egg-cluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/egg-cluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/egg-cluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/egg-cluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/egg-cluster/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/egg-cluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/egg-cluster/merges","archive_url":"https://api.github.com/repos/eggjs/egg-cluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/egg-cluster/downloads","issues_url":"https://api.github.com/repos/eggjs/egg-cluster/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/egg-cluster/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/egg-cluster/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/egg-cluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/egg-cluster/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/egg-cluster/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/egg-cluster/deployments","created_at":"2016-06-18T07:02:25Z","updated_at":"2017-05-26T03:31:53Z","pushed_at":"2017-05-28T09:39:23Z","git_url":"git://github.com/eggjs/egg-cluster.git","ssh_url":"git@github.com:eggjs/egg-cluster.git","clone_url":"https://github.com/eggjs/egg-cluster.git","svn_url":"https://github.com/eggjs/egg-cluster","homepage":"","size":78,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":0,"forks":7,"open_issues":0,"watchers":26,"default_branch":"master"}},"base":{"label":"eggjs:master","ref":"master","sha":"873d7791771d38d68c2fcc139eed4103eeb18fe3","user":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars2.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":61421551,"name":"egg-cluster","full_name":"eggjs/egg-cluster","owner":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars2.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggjs/egg-cluster","description":"cluster manager for egg","fork":false,"url":"https://api.github.com/repos/eggjs/egg-cluster","forks_url":"https://api.github.com/repos/eggjs/egg-cluster/forks","keys_url":"https://api.github.com/repos/eggjs/egg-cluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/egg-cluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/egg-cluster/teams","hooks_url":"https://api.github.com/repos/eggjs/egg-cluster/hooks","issue_events_url":"https://api.github.com/repos/eggjs/egg-cluster/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/egg-cluster/events","assignees_url":"https://api.github.com/repos/eggjs/egg-cluster/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/egg-cluster/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/egg-cluster/tags","blobs_url":"https://api.github.com/repos/eggjs/egg-cluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/egg-cluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/egg-cluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/egg-cluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/egg-cluster/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/egg-cluster/languages","stargazers_url":"https://api.github.com/repos/eggjs/egg-cluster/stargazers","contributors_url":"https://api.github.com/repos/eggjs/egg-cluster/contributors","subscribers_url":"https://api.github.com/repos/eggjs/egg-cluster/subscribers","subscription_url":"https://api.github.com/repos/eggjs/egg-cluster/subscription","commits_url":"https://api.github.com/repos/eggjs/egg-cluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/egg-cluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/egg-cluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/egg-cluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/egg-cluster/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/egg-cluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/egg-cluster/merges","archive_url":"https://api.github.com/repos/eggjs/egg-cluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/egg-cluster/downloads","issues_url":"https://api.github.com/repos/eggjs/egg-cluster/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/egg-cluster/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/egg-cluster/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/egg-cluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/egg-cluster/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/egg-cluster/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/egg-cluster/deployments","created_at":"2016-06-18T07:02:25Z","updated_at":"2017-05-26T03:31:53Z","pushed_at":"2017-05-28T09:39:23Z","git_url":"git://github.com/eggjs/egg-cluster.git","ssh_url":"git@github.com:eggjs/egg-cluster.git","clone_url":"https://github.com/eggjs/egg-cluster.git","svn_url":"https://github.com/eggjs/egg-cluster","homepage":"","size":78,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":0,"forks":7,"open_issues":0,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eggjs/egg-cluster/pulls/27"},"html":{"href":"https://github.com/eggjs/egg-cluster/pull/27"},"issue":{"href":"https://api.github.com/repos/eggjs/egg-cluster/issues/27"},"comments":{"href":"https://api.github.com/repos/eggjs/egg-cluster/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/eggjs/egg-cluster/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/eggjs/egg-cluster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eggjs/egg-cluster/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/eggjs/egg-cluster/statuses/e71d5dcd806b100adc3a16e316255685266cd248"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dead-horse","id":985607,"avatar_url":"https://avatars0.githubusercontent.com/u/985607?v=3","gravatar_id":"","url":"https://api.github.com/users/dead-horse","html_url":"https://github.com/dead-horse","followers_url":"https://api.github.com/users/dead-horse/followers","following_url":"https://api.github.com/users/dead-horse/following{/other_user}","gists_url":"https://api.github.com/users/dead-horse/gists{/gist_id}","starred_url":"https://api.github.com/users/dead-horse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dead-horse/subscriptions","organizations_url":"https://api.github.com/users/dead-horse/orgs","repos_url":"https://api.github.com/users/dead-horse/repos","events_url":"https://api.github.com/users/dead-horse/events{/privacy}","received_events_url":"https://api.github.com/users/dead-horse/received_events","type":"User","site_admin":false},"comments":6,"review_comments":6,"maintainer_can_modify":false,"commits":4,"additions":368,"deletions":183,"changed_files":9}}
{"actor":{"display_login":"dead-horse"}}