Filip,

On 5/2/12 5:33 PM, fha...@apache.org wrote:
> Very hard for applications to see a performance benefit of more than 2 pollers

[...]

> -    protected int pollerThreadCount = 
> Runtime.getRuntime().availableProcessors();
> +    protected int pollerThreadCount = 
> Math.min(2,Runtime.getRuntime().availableProcessors());

I think you mean Math.max(). What you have is a minimum of 2 and a
maximum of the number of cores, which is exactly the opposite of what
your commit comment says is appropriate.

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to