{"action":"closed","number":43,"pull_request":{"url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/43","id":83398915,"html_url":"https://github.com/RafalWilinski/express-status-monitor/pull/43","diff_url":"https://github.com/RafalWilinski/express-status-monitor/pull/43.diff","patch_url":"https://github.com/RafalWilinski/express-status-monitor/pull/43.patch","issue_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/issues/43","number":43,"state":"closed","locked":false,"title":"unref interval","user":{"login":"capaj","id":1305378,"avatar_url":"https://avatars.githubusercontent.com/u/1305378?v=3","gravatar_id":"","url":"https://api.github.com/users/capaj","html_url":"https://github.com/capaj","followers_url":"https://api.github.com/users/capaj/followers","following_url":"https://api.github.com/users/capaj/following{/other_user}","gists_url":"https://api.github.com/users/capaj/gists{/gist_id}","starred_url":"https://api.github.com/users/capaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capaj/subscriptions","organizations_url":"https://api.github.com/users/capaj/orgs","repos_url":"https://api.github.com/users/capaj/repos","events_url":"https://api.github.com/users/capaj/events{/privacy}","received_events_url":"https://api.github.com/users/capaj/received_events","type":"User","site_admin":false},"body":"it is a good practice to unref the interval, if you don't want it to keep the node.js process running. This is not desirable in tests for example, as was pointed to me by @Pajk","created_at":"2016-08-31T07:04:49Z","updated_at":"2016-09-01T18:36:06Z","closed_at":"2016-09-01T18:36:06Z","merged_at":"2016-09-01T18:36:06Z","merge_commit_sha":"f2edcb09d37f77c2d930af44e37eb0678c225240","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/43/commits","review_comments_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/43/comments","review_comment_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/issues/43/comments","statuses_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/statuses/ecf4db7893acec340458d7907b789909b01f7ea3","head":{"label":"capaj:unref","ref":"unref","sha":"ecf4db7893acec340458d7907b789909b01f7ea3","user":{"login":"capaj","id":1305378,"avatar_url":"https://avatars.githubusercontent.com/u/1305378?v=3","gravatar_id":"","url":"https://api.github.com/users/capaj","html_url":"https://github.com/capaj","followers_url":"https://api.github.com/users/capaj/followers","following_url":"https://api.github.com/users/capaj/following{/other_user}","gists_url":"https://api.github.com/users/capaj/gists{/gist_id}","starred_url":"https://api.github.com/users/capaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capaj/subscriptions","organizations_url":"https://api.github.com/users/capaj/orgs","repos_url":"https://api.github.com/users/capaj/repos","events_url":"https://api.github.com/users/capaj/events{/privacy}","received_events_url":"https://api.github.com/users/capaj/received_events","type":"User","site_admin":false},"repo":{"id":66139315,"name":"koa-monitor","full_name":"capaj/koa-monitor","owner":{"login":"capaj","id":1305378,"avatar_url":"https://avatars.githubusercontent.com/u/1305378?v=3","gravatar_id":"","url":"https://api.github.com/users/capaj","html_url":"https://github.com/capaj","followers_url":"https://api.github.com/users/capaj/followers","following_url":"https://api.github.com/users/capaj/following{/other_user}","gists_url":"https://api.github.com/users/capaj/gists{/gist_id}","starred_url":"https://api.github.com/users/capaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capaj/subscriptions","organizations_url":"https://api.github.com/users/capaj/orgs","repos_url":"https://api.github.com/users/capaj/repos","events_url":"https://api.github.com/users/capaj/events{/privacy}","received_events_url":"https://api.github.com/users/capaj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/capaj/koa-monitor","description":"🚀 Realtime Monitoring solution for koa.js, inspired by status.github.com","fork":true,"url":"https://api.github.com/repos/capaj/koa-monitor","forks_url":"https://api.github.com/repos/capaj/koa-monitor/forks","keys_url":"https://api.github.com/repos/capaj/koa-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/capaj/koa-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/capaj/koa-monitor/teams","hooks_url":"https://api.github.com/repos/capaj/koa-monitor/hooks","issue_events_url":"https://api.github.com/repos/capaj/koa-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/capaj/koa-monitor/events","assignees_url":"https://api.github.com/repos/capaj/koa-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/capaj/koa-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/capaj/koa-monitor/tags","blobs_url":"https://api.github.com/repos/capaj/koa-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/capaj/koa-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/capaj/koa-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/capaj/koa-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/capaj/koa-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/capaj/koa-monitor/languages","stargazers_url":"https://api.github.com/repos/capaj/koa-monitor/stargazers","contributors_url":"https://api.github.com/repos/capaj/koa-monitor/contributors","subscribers_url":"https://api.github.com/repos/capaj/koa-monitor/subscribers","subscription_url":"https://api.github.com/repos/capaj/koa-monitor/subscription","commits_url":"https://api.github.com/repos/capaj/koa-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/capaj/koa-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/capaj/koa-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/capaj/koa-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/capaj/koa-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/capaj/koa-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/capaj/koa-monitor/merges","archive_url":"https://api.github.com/repos/capaj/koa-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/capaj/koa-monitor/downloads","issues_url":"https://api.github.com/repos/capaj/koa-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/capaj/koa-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/capaj/koa-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/capaj/koa-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/capaj/koa-monitor/labels{/name}","releases_url":"https://api.github.com/repos/capaj/koa-monitor/releases{/id}","deployments_url":"https://api.github.com/repos/capaj/koa-monitor/deployments","created_at":"2016-08-20T09:37:23Z","updated_at":"2016-09-01T16:20:07Z","pushed_at":"2016-08-31T10:27:28Z","git_url":"git://github.com/capaj/koa-monitor.git","ssh_url":"git@github.com:capaj/koa-monitor.git","clone_url":"https://github.com/capaj/koa-monitor.git","svn_url":"https://github.com/capaj/koa-monitor","homepage":"","size":364,"stargazers_count":96,"watchers_count":96,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":96,"default_branch":"master"}},"base":{"label":"RafalWilinski:master","ref":"master","sha":"bd0dbbdbdb544cdadaf6738057cef30fe51d75d1","user":{"login":"RafalWilinski","id":3391616,"avatar_url":"https://avatars.githubusercontent.com/u/3391616?v=3","gravatar_id":"","url":"https://api.github.com/users/RafalWilinski","html_url":"https://github.com/RafalWilinski","followers_url":"https://api.github.com/users/RafalWilinski/followers","following_url":"https://api.github.com/users/RafalWilinski/following{/other_user}","gists_url":"https://api.github.com/users/RafalWilinski/gists{/gist_id}","starred_url":"https://api.github.com/users/RafalWilinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafalWilinski/subscriptions","organizations_url":"https://api.github.com/users/RafalWilinski/orgs","repos_url":"https://api.github.com/users/RafalWilinski/repos","events_url":"https://api.github.com/users/RafalWilinski/events{/privacy}","received_events_url":"https://api.github.com/users/RafalWilinski/received_events","type":"User","site_admin":false},"repo":{"id":64599973,"name":"express-status-monitor","full_name":"RafalWilinski/express-status-monitor","owner":{"login":"RafalWilinski","id":3391616,"avatar_url":"https://avatars.githubusercontent.com/u/3391616?v=3","gravatar_id":"","url":"https://api.github.com/users/RafalWilinski","html_url":"https://github.com/RafalWilinski","followers_url":"https://api.github.com/users/RafalWilinski/followers","following_url":"https://api.github.com/users/RafalWilinski/following{/other_user}","gists_url":"https://api.github.com/users/RafalWilinski/gists{/gist_id}","starred_url":"https://api.github.com/users/RafalWilinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafalWilinski/subscriptions","organizations_url":"https://api.github.com/users/RafalWilinski/orgs","repos_url":"https://api.github.com/users/RafalWilinski/repos","events_url":"https://api.github.com/users/RafalWilinski/events{/privacy}","received_events_url":"https://api.github.com/users/RafalWilinski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RafalWilinski/express-status-monitor","description":"🚀 Realtime Monitoring solution for Express.js apps, inspired by status.github.com","fork":false,"url":"https://api.github.com/repos/RafalWilinski/express-status-monitor","forks_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/forks","keys_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/teams","hooks_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/hooks","issue_events_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/events","assignees_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/tags","blobs_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/languages","stargazers_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/stargazers","contributors_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/contributors","subscribers_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/subscribers","subscription_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/subscription","commits_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/merges","archive_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/downloads","issues_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/labels{/name}","releases_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/releases{/id}","deployments_url":"https://api.github.com/repos/RafalWilinski/express-status-monitor/deployments","created_at":"2016-07-31T15:08:47Z","updated_at":"2016-09-01T12:40:02Z","pushed_at":"2016-09-01T18:36:06Z","git_url":"git://github.com/RafalWilinski/express-status-monitor.git","ssh_url":"git@github.com:RafalWilinski/express-status-monitor.git","clone_url":"https://github.com/RafalWilinski/express-status-monitor.git","svn_url":"https://github.com/RafalWilinski/express-status-monitor","homepage":"http://rwilinski.me","size":359,"stargazers_count":1897,"watchers_count":1897,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":9,"forks":59,"open_issues":9,"watchers":1897,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/43"},"html":{"href":"https://github.com/RafalWilinski/express-status-monitor/pull/43"},"issue":{"href":"https://api.github.com/repos/RafalWilinski/express-status-monitor/issues/43"},"comments":{"href":"https://api.github.com/repos/RafalWilinski/express-status-monitor/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RafalWilinski/express-status-monitor/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/RafalWilinski/express-status-monitor/statuses/ecf4db7893acec340458d7907b789909b01f7ea3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"RafalWilinski","id":3391616,"avatar_url":"https://avatars.githubusercontent.com/u/3391616?v=3","gravatar_id":"","url":"https://api.github.com/users/RafalWilinski","html_url":"https://github.com/RafalWilinski","followers_url":"https://api.github.com/users/RafalWilinski/followers","following_url":"https://api.github.com/users/RafalWilinski/following{/other_user}","gists_url":"https://api.github.com/users/RafalWilinski/gists{/gist_id}","starred_url":"https://api.github.com/users/RafalWilinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafalWilinski/subscriptions","organizations_url":"https://api.github.com/users/RafalWilinski/orgs","repos_url":"https://api.github.com/users/RafalWilinski/repos","events_url":"https://api.github.com/users/RafalWilinski/events{/privacy}","received_events_url":"https://api.github.com/users/RafalWilinski/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"RafalWilinski"}}