{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/8298","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/8298/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/8298/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/8298/events","html_url":"https://github.com/nodejs/node/pull/8298","id":173586570,"number":8298,"title":"events: make memory leak warning more programatically accessible","user":{"login":"addaleax","id":899444,"avatar_url":"https://avatars.githubusercontent.com/u/899444?v=3","gravatar_id":"","url":"https://api.github.com/users/addaleax","html_url":"https://github.com/addaleax","followers_url":"https://api.github.com/users/addaleax/followers","following_url":"https://api.github.com/users/addaleax/following{/other_user}","gists_url":"https://api.github.com/users/addaleax/gists{/gist_id}","starred_url":"https://api.github.com/users/addaleax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addaleax/subscriptions","organizations_url":"https://api.github.com/users/addaleax/orgs","repos_url":"https://api.github.com/users/addaleax/repos","events_url":"https://api.github.com/users/addaleax/events{/privacy}","received_events_url":"https://api.github.com/users/addaleax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/events","name":"events","color":"bfdadc"},{"url":"https://api.github.com/repos/nodejs/node/labels/semver-minor","name":"semver-minor","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-27T08:57:12Z","updated_at":"2016-08-27T20:25:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/8298","html_url":"https://github.com/nodejs/node/pull/8298","diff_url":"https://github.com/nodejs/node/pull/8298.diff","patch_url":"https://github.com/nodejs/node/pull/8298.patch"},"body":"##### Checklist\r\n\r\n- [x] `make -j4 test` (UNIX), or `vcbuild test nosign` (Windows) passes\r\n- [x] tests and/or benchmarks are included\r\n- [x] documentation is changed or added\r\n- [x] commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n\r\nevents\r\n\r\n##### Description of change\r\n\r\nThis makes the famous `EventEmitter memory leak` warnings occurring when the listener count for a given event exceeds a specified number more programatically accessible, by giving them properties referring to the event emitter instance and the event itself.\r\n\r\nThis can be useful for debugging the origins of such a warning when the stack itself doesn’t reveal enough information about the event emitter instance itself, e.g. when manual inspection of the\r\nalready-registered listeners is expected to be useful.\r\n\r\n~~(It seems CI on this has to wait until Jenkins is running smoothly again…)~~\r\nCI: https://ci.nodejs.org/job/node-test-commit/4794/"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/242938881","html_url":"https://github.com/nodejs/node/pull/8298#issuecomment-242938881","issue_url":"https://api.github.com/repos/nodejs/node/issues/8298","id":242938881,"user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T20:25:23Z","updated_at":"2016-08-27T20:25:23Z","body":"LGTM if CI is green"}}
{"actor":{"display_login":"Fishrock123"}}