{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/26070","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26070/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26070/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26070/events","html_url":"https://github.com/elastic/elasticsearch/pull/26070","id":248175296,"number":26070,"title":"Calculate once the number of machine cores","user":{"login":"hanbj","id":7066180,"avatar_url":"https://avatars0.githubusercontent.com/u/7066180?v=4","gravatar_id":"","url":"https://api.github.com/users/hanbj","html_url":"https://github.com/hanbj","followers_url":"https://api.github.com/users/hanbj/followers","following_url":"https://api.github.com/users/hanbj/following{/other_user}","gists_url":"https://api.github.com/users/hanbj/gists{/gist_id}","starred_url":"https://api.github.com/users/hanbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanbj/subscriptions","organizations_url":"https://api.github.com/users/hanbj/orgs","repos_url":"https://api.github.com/users/hanbj/repos","events_url":"https://api.github.com/users/hanbj/events{/privacy}","received_events_url":"https://api.github.com/users/hanbj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-05T09:38:55Z","updated_at":"2017-08-07T04:44:33Z","closed_at":"2017-08-07T04:44:33Z","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/26070","html_url":"https://github.com/elastic/elasticsearch/pull/26070","diff_url":"https://github.com/elastic/elasticsearch/pull/26070.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/26070.patch"},"body":"1、When building the FixedExecutorBuilder and AutoQueueAdjustingExecutorBuilder instance, the parameter availableProcessors is passed in the construction method. \r\n2、numberOfProcessors: There is no need to calculate the number of machine cores again."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/320567558","html_url":"https://github.com/elastic/elasticsearch/pull/26070#issuecomment-320567558","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26070","id":320567558,"user":{"login":"jasontedor","id":4744941,"avatar_url":"https://avatars3.githubusercontent.com/u/4744941?v=4","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"created_at":"2017-08-07T04:44:33Z","updated_at":"2017-08-07T04:44:33Z","body":"This code should remain as-is. It's clearer this way, and it does not rely on the defaults being equal to the number of available processors."}}
{"actor":{"display_login":"jasontedor"}}