Hi,

On Sun, Jan 26, 2020 at 12:35 PM Gregor Jarisch <[email protected]> wrote:
>
> Hi,
>
> > Are you configuring the scheduler with just 1 thread?
> No, 256 actually, so that should not be a problem. It just seems as it is 
> waiting for something forever before actually making a new connection.

HttpClient is fully non-blocking, so it does not wait unless you call
APIs that block.

> Is it problematic to reuse an instance of 
> org.eclipse.jetty.client.api.Request after it had been executed ?
> I have a validator in place that checks httpcode and content and depending on 
> config retries the very same http request.

Yes, don't do that, just create a new Request instance every time.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to