The code needs a boolean. In HttpShardHandlerFactory.java:

    BlockingQueue<Runnable> blockingQueue = (this.queueSize == -1) ?
        new SynchronousQueue<Runnable>(this.accessPolicy) :
        new ArrayBlockingQueue<Runnable>(this.queueSize, this.accessPolicy);

Also, what is a “reasonable size of queue” for sizeOfQueue?

https://cwiki.apache.org/confluence/display/solr/Distributed+Requests 
<https://cwiki.apache.org/confluence/display/solr/Distributed+Requests>

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Feb 9, 2017, at 10:13 AM, Walter Underwood <wun...@wunderwood.org> wrote:
> 
> The default is “false”. I tried “true” and it fails because it can’t parse 
> that as an int.
> 
> The docs need to describe legal values for this.
> 
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
> 
> 

Reply via email to