Please sign in to comment.
allow -j (jobs) parameter with zeroconf
If server is started in zeroconf mode, the previous behavior was that the number of jobs for any server was hardcoded to 4 * number of cpus. This commit allows distccd to be invoked in zeroconf mode with the -j parameter to specify n_jobs, the maximum number of concurrent jobs for this server. If no -j is specified, then this host will publish its n_jobs to be 2 * number of cores + 2. (Note: this is the same behavior as when invoking a non-zerconf server without specifying -j.) To maintain backward compatibily, if a distccd zeroconf server doesn't publish a value for n_jobs, then it will be assigned a default n_jobs equal to the previous behavior of 4 * number of cores.
- Loading branch information...
Showing with 30 additions and 7 deletions.