{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/985","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/985/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/985/events","html_url":"https://github.com/rust-lang/rfcs/pull/985","id":62461615,"number":985,"title":"RFC: Add std::env::concurrency_hint","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-03-17T17:08:11Z","updated_at":"2015-03-19T05:43:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/985","html_url":"https://github.com/rust-lang/rfcs/pull/985","diff_url":"https://github.com/rust-lang/rfcs/pull/985.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/985.patch"},"body":"This new function will return a **hint** to the amount of concurrency the\r\nunderlying system can support.\r\n\r\n[Rendered](https://github.com/alexcrichton/rfcs/blob/concurrency-hint/text/0000-concurrency-hint.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/83341985","html_url":"https://github.com/rust-lang/rfcs/pull/985#issuecomment-83341985","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/985","id":83341985,"user":{"login":"sanxiyn","id":45249,"avatar_url":"https://avatars.githubusercontent.com/u/45249?v=3","gravatar_id":"","url":"https://api.github.com/users/sanxiyn","html_url":"https://github.com/sanxiyn","followers_url":"https://api.github.com/users/sanxiyn/followers","following_url":"https://api.github.com/users/sanxiyn/following{/other_user}","gists_url":"https://api.github.com/users/sanxiyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sanxiyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanxiyn/subscriptions","organizations_url":"https://api.github.com/users/sanxiyn/orgs","repos_url":"https://api.github.com/users/sanxiyn/repos","events_url":"https://api.github.com/users/sanxiyn/events{/privacy}","received_events_url":"https://api.github.com/users/sanxiyn/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T05:43:40Z","updated_at":"2015-03-19T05:43:40Z","body":"I think the correct design is to return 1 if there is no information, and allowing runtime override, for example, using environment variable, with name like RUST_CONCURRENCY."}}