[SCM] Samba Shared Repository - branch master updated

jim jim.brown at rsmas.miami.edu
Fri Jun 19 14:07:53 UTC 2020


If you want a minimum of 2 workers then why do you allow a result of 1 
worker?
The second test should be '< 2' and 'return 2' to match the limit of the 
first test.

On 6/19/2020 7:00 AM, Andreas Schneider wrote:
> +    # Always run two processes in parallel
> +    if cpu_count <= 2:
> +        return 2
> +
> +    max_workers = int(cpu_count / 2)
> +    if max_workers < 1:
> +        return 1




More information about the samba-technical mailing list