{"action":"created","issue":{"url":"https://api.github.com/repos/jumutc/SALSA.jl/issues/9","labels_url":"https://api.github.com/repos/jumutc/SALSA.jl/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/jumutc/SALSA.jl/issues/9/comments","events_url":"https://api.github.com/repos/jumutc/SALSA.jl/issues/9/events","html_url":"https://github.com/jumutc/SALSA.jl/pull/9","id":106119630,"number":9,"title":"Fix for 2 threads","user":{"login":"droidicus","id":6981482,"avatar_url":"https://avatars.githubusercontent.com/u/6981482?v=3","gravatar_id":"","url":"https://api.github.com/users/droidicus","html_url":"https://github.com/droidicus","followers_url":"https://api.github.com/users/droidicus/followers","following_url":"https://api.github.com/users/droidicus/following{/other_user}","gists_url":"https://api.github.com/users/droidicus/gists{/gist_id}","starred_url":"https://api.github.com/users/droidicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidicus/subscriptions","organizations_url":"https://api.github.com/users/droidicus/orgs","repos_url":"https://api.github.com/users/droidicus/repos","events_url":"https://api.github.com/users/droidicus/events{/privacy}","received_events_url":"https://api.github.com/users/droidicus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-12T01:18:30Z","updated_at":"2015-09-12T01:25:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jumutc/SALSA.jl/pulls/9","html_url":"https://github.com/jumutc/SALSA.jl/pull/9","diff_url":"https://github.com/jumutc/SALSA.jl/pull/9.diff","patch_url":"https://github.com/jumutc/SALSA.jl/pull/9.patch"},"body":"nworkers() returns the number of available processes-1, or 1 if the number of processes is 1. This causes scripts run with \"julia -p 2\" to behave strangely.\r\n\r\nI believe that we actually want to use nprocs(), which is the number of available processes. This causes \"julia -p 2\" to work as expected."},"comment":{"url":"https://api.github.com/repos/jumutc/SALSA.jl/issues/comments/139698836","html_url":"https://github.com/jumutc/SALSA.jl/pull/9#issuecomment-139698836","issue_url":"https://api.github.com/repos/jumutc/SALSA.jl/issues/9","id":139698836,"user":{"login":"droidicus","id":6981482,"avatar_url":"https://avatars.githubusercontent.com/u/6981482?v=3","gravatar_id":"","url":"https://api.github.com/users/droidicus","html_url":"https://github.com/droidicus","followers_url":"https://api.github.com/users/droidicus/followers","following_url":"https://api.github.com/users/droidicus/following{/other_user}","gists_url":"https://api.github.com/users/droidicus/gists{/gist_id}","starred_url":"https://api.github.com/users/droidicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidicus/subscriptions","organizations_url":"https://api.github.com/users/droidicus/orgs","repos_url":"https://api.github.com/users/droidicus/repos","events_url":"https://api.github.com/users/droidicus/events{/privacy}","received_events_url":"https://api.github.com/users/droidicus/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T01:25:55Z","updated_at":"2015-09-12T01:25:55Z","body":"Err... \"Julia -p 1\" is what was causing me problems, apologies."}}