{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/node/pulls/comments/200773498","pull_request_review_id":135160684,"id":200773498,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDc3MzQ5OA==","diff_hunk":"@@ -1642,6 +1642,40 @@ This function is only available on POSIX platforms (i.e. not Windows or\n Android).\n This feature is not available in [`Worker`][] threads.\n \n+## process.nice(inc)\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `inc` {integer} The nice value which is added to the current nice value.\n+","path":"doc/api/process.md","position":null,"original_position":10,"commit_id":"bd1e0860a4c16377f90eada353d786f004bc1224","original_commit_id":"2a8e90ad0ab93f07b67628b0e7c876603da47c8a","user":{"login":"zokker13","id":1140945,"node_id":"MDQ6VXNlcjExNDA5NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/1140945?v=4","gravatar_id":"","url":"https://api.github.com/users/zokker13","html_url":"https://github.com/zokker13","followers_url":"https://api.github.com/users/zokker13/followers","following_url":"https://api.github.com/users/zokker13/following{/other_user}","gists_url":"https://api.github.com/users/zokker13/gists{/gist_id}","starred_url":"https://api.github.com/users/zokker13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zokker13/subscriptions","organizations_url":"https://api.github.com/users/zokker13/orgs","repos_url":"https://api.github.com/users/zokker13/repos","events_url":"https://api.github.com/users/zokker13/events{/privacy}","received_events_url":"https://api.github.com/users/zokker13/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-07-06T21:25:00Z","updated_at":"2018-07-06T21:25:00Z","html_url":"https://github.com/nodejs/node/pull/21675#discussion_r200773498","pull_request_url":"https://api.github.com/repos/nodejs/node/pulls/21675","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments/200773498"},"html":{"href":"https://github.com/nodejs/node/pull/21675#discussion_r200773498"},"pull_request":{"href":"https://api.github.com/repos/nodejs/node/pulls/21675"}},"in_reply_to_id":200729982},"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/21675","id":199592408,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NTkyNDA4","html_url":"https://github.com/nodejs/node/pull/21675","diff_url":"https://github.com/nodejs/node/pull/21675.diff","patch_url":"https://github.com/nodejs/node/pull/21675.patch","issue_url":"https://api.github.com/repos/nodejs/node/issues/21675","number":21675,"state":"open","locked":false,"title":"process: add nice() function","user":{"login":"zokker13","id":1140945,"node_id":"MDQ6VXNlcjExNDA5NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/1140945?v=4","gravatar_id":"","url":"https://api.github.com/users/zokker13","html_url":"https://github.com/zokker13","followers_url":"https://api.github.com/users/zokker13/followers","following_url":"https://api.github.com/users/zokker13/following{/other_user}","gists_url":"https://api.github.com/users/zokker13/gists{/gist_id}","starred_url":"https://api.github.com/users/zokker13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zokker13/subscriptions","organizations_url":"https://api.github.com/users/zokker13/orgs","repos_url":"https://api.github.com/users/zokker13/repos","events_url":"https://api.github.com/users/zokker13/events{/privacy}","received_events_url":"https://api.github.com/users/zokker13/received_events","type":"User","site_admin":false},"body":"The nice function allows us to fine-tune the process to meet desired\r\nscheduling behavior. If our process needs less schedule time because\r\nit is a long-running one, we can increase the nice value and cause\r\nthe scheduler to select the process not so often.\r\n\r\nIf desired, here's the technical documentation: http://man7.org/linux/man-pages/man2/nice.2.html\r\n\r\n<!--\r\nThank you for your pull request. Please provide a description above and review\r\nthe requirements below.\r\n\r\nBug fixes and new features should include tests and possibly benchmarks.\r\n\r\nContributors guide: https://github.com/nodejs/node/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- [x] `make -j4 test` (UNIX), or `vcbuild test` (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](https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines)\r\n","created_at":"2018-07-05T21:30:37Z","updated_at":"2018-07-06T21:25:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b885aa9f2c2b775d82df76d99cc78b9862c9f6f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":155267502,"node_id":"MDU6TGFiZWwxNTUyNjc1MDI=","url":"https://api.github.com/repos/nodejs/node/labels/C++","name":"C++","color":"e11d21","default":false},{"id":491152610,"node_id":"MDU6TGFiZWw0OTExNTI2MTA=","url":"https://api.github.com/repos/nodejs/node/labels/notable-change","name":"notable-change","color":"f9d0c4","default":false},{"id":207521371,"node_id":"MDU6TGFiZWwyMDc1MjEzNzE=","url":"https://api.github.com/repos/nodejs/node/labels/process","name":"process","color":"00aaff","default":false},{"id":169485478,"node_id":"MDU6TGFiZWwxNjk0ODU0Nzg=","url":"https://api.github.com/repos/nodejs/node/labels/semver-minor","name":"semver-minor","color":"fef2c0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/node/pulls/21675/commits","review_comments_url":"https://api.github.com/repos/nodejs/node/pulls/21675/comments","review_comment_url":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/node/issues/21675/comments","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/bd1e0860a4c16377f90eada353d786f004bc1224","head":{"label":"zokker13:add_nice_function","ref":"add_nice_function","sha":"bd1e0860a4c16377f90eada353d786f004bc1224","user":{"login":"zokker13","id":1140945,"node_id":"MDQ6VXNlcjExNDA5NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/1140945?v=4","gravatar_id":"","url":"https://api.github.com/users/zokker13","html_url":"https://github.com/zokker13","followers_url":"https://api.github.com/users/zokker13/followers","following_url":"https://api.github.com/users/zokker13/following{/other_user}","gists_url":"https://api.github.com/users/zokker13/gists{/gist_id}","starred_url":"https://api.github.com/users/zokker13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zokker13/subscriptions","organizations_url":"https://api.github.com/users/zokker13/orgs","repos_url":"https://api.github.com/users/zokker13/repos","events_url":"https://api.github.com/users/zokker13/events{/privacy}","received_events_url":"https://api.github.com/users/zokker13/received_events","type":"User","site_admin":false},"repo":{"id":139891595,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4OTE1OTU=","name":"node","full_name":"zokker13/node","owner":{"login":"zokker13","id":1140945,"node_id":"MDQ6VXNlcjExNDA5NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/1140945?v=4","gravatar_id":"","url":"https://api.github.com/users/zokker13","html_url":"https://github.com/zokker13","followers_url":"https://api.github.com/users/zokker13/followers","following_url":"https://api.github.com/users/zokker13/following{/other_user}","gists_url":"https://api.github.com/users/zokker13/gists{/gist_id}","starred_url":"https://api.github.com/users/zokker13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zokker13/subscriptions","organizations_url":"https://api.github.com/users/zokker13/orgs","repos_url":"https://api.github.com/users/zokker13/repos","events_url":"https://api.github.com/users/zokker13/events{/privacy}","received_events_url":"https://api.github.com/users/zokker13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zokker13/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":true,"url":"https://api.github.com/repos/zokker13/node","forks_url":"https://api.github.com/repos/zokker13/node/forks","keys_url":"https://api.github.com/repos/zokker13/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zokker13/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zokker13/node/teams","hooks_url":"https://api.github.com/repos/zokker13/node/hooks","issue_events_url":"https://api.github.com/repos/zokker13/node/issues/events{/number}","events_url":"https://api.github.com/repos/zokker13/node/events","assignees_url":"https://api.github.com/repos/zokker13/node/assignees{/user}","branches_url":"https://api.github.com/repos/zokker13/node/branches{/branch}","tags_url":"https://api.github.com/repos/zokker13/node/tags","blobs_url":"https://api.github.com/repos/zokker13/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zokker13/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zokker13/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/zokker13/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zokker13/node/statuses/{sha}","languages_url":"https://api.github.com/repos/zokker13/node/languages","stargazers_url":"https://api.github.com/repos/zokker13/node/stargazers","contributors_url":"https://api.github.com/repos/zokker13/node/contributors","subscribers_url":"https://api.github.com/repos/zokker13/node/subscribers","subscription_url":"https://api.github.com/repos/zokker13/node/subscription","commits_url":"https://api.github.com/repos/zokker13/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/zokker13/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/zokker13/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/zokker13/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/zokker13/node/contents/{+path}","compare_url":"https://api.github.com/repos/zokker13/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zokker13/node/merges","archive_url":"https://api.github.com/repos/zokker13/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zokker13/node/downloads","issues_url":"https://api.github.com/repos/zokker13/node/issues{/number}","pulls_url":"https://api.github.com/repos/zokker13/node/pulls{/number}","milestones_url":"https://api.github.com/repos/zokker13/node/milestones{/number}","notifications_url":"https://api.github.com/repos/zokker13/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zokker13/node/labels{/name}","releases_url":"https://api.github.com/repos/zokker13/node/releases{/id}","deployments_url":"https://api.github.com/repos/zokker13/node/deployments","created_at":"2018-07-05T19:24:10Z","updated_at":"2018-07-05T19:24:33Z","pushed_at":"2018-07-06T21:24:01Z","git_url":"git://github.com/zokker13/node.git","ssh_url":"git@github.com:zokker13/node.git","clone_url":"https://github.com/zokker13/node.git","svn_url":"https://github.com/zokker13/node","homepage":"https://nodejs.org","size":390245,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nodejs:master","ref":"master","sha":"8476053c132fd9613aab547aba165190f8064254","user":{"login":"nodejs","id":9950313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NTAzMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/9950313?v=4","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"node_id":"MDEwOlJlcG9zaXRvcnkyNzE5Mzc3OQ==","name":"node","full_name":"nodejs/node","owner":{"login":"nodejs","id":9950313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NTAzMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/9950313?v=4","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":false,"url":"https://api.github.com/repos/nodejs/node","forks_url":"https://api.github.com/repos/nodejs/node/forks","keys_url":"https://api.github.com/repos/nodejs/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/node/teams","hooks_url":"https://api.github.com/repos/nodejs/node/hooks","issue_events_url":"https://api.github.com/repos/nodejs/node/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/node/events","assignees_url":"https://api.github.com/repos/nodejs/node/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/node/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/node/tags","blobs_url":"https://api.github.com/repos/nodejs/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/node/languages","stargazers_url":"https://api.github.com/repos/nodejs/node/stargazers","contributors_url":"https://api.github.com/repos/nodejs/node/contributors","subscribers_url":"https://api.github.com/repos/nodejs/node/subscribers","subscription_url":"https://api.github.com/repos/nodejs/node/subscription","commits_url":"https://api.github.com/repos/nodejs/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/node/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/node/merges","archive_url":"https://api.github.com/repos/nodejs/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/node/downloads","issues_url":"https://api.github.com/repos/nodejs/node/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/node/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/node/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/node/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/node/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/node/deployments","created_at":"2014-11-26T19:57:11Z","updated_at":"2018-07-06T17:24:07Z","pushed_at":"2018-07-06T21:24:19Z","git_url":"git://github.com/nodejs/node.git","ssh_url":"git@github.com:nodejs/node.git","clone_url":"https://github.com/nodejs/node.git","svn_url":"https://github.com/nodejs/node","homepage":"https://nodejs.org","size":390322,"stargazers_count":51047,"watchers_count":51047,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10695,"mirror_url":null,"archived":false,"open_issues_count":792,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":10695,"open_issues":792,"watchers":51047,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/21675"},"html":{"href":"https://github.com/nodejs/node/pull/21675"},"issue":{"href":"https://api.github.com/repos/nodejs/node/issues/21675"},"comments":{"href":"https://api.github.com/repos/nodejs/node/issues/21675/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/node/pulls/21675/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/node/pulls/21675/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/node/statuses/bd1e0860a4c16377f90eada353d786f004bc1224"}},"author_association":"NONE"}}
{"actor":{"display_login":"zokker13"}}