But isn't the thread pooling configured at the level of the server?
Server server = new Server(8086);
QueuedThreadPool qtp = (QueuedThreadPool) server.getThreadPool();
qtp.setMaxThreads(6);
On Thu, May 24, 2018 at 11:04 AM, Jesse McConnell <[email protected]
> wrote:
>
> I know some folks set up a separate connector on a different port for
> health checks like this with its own thread pool.
>
> Jesse
>
> --
> jesse mcconnell
> [email protected]
>
>
> On Thu, May 24, 2018 at 12:23 PM Benjamin Jaton <[email protected]>
> wrote:
>
>> Greetings,
>>
>> I've asked a question on SO a few days back:
>> https://stackoverflow.com/questions/50455251/jetty-
>> priority-treatment-of-health-checks
>>
>> ---
>> My Jetty is servicing requests on /myservice/*
>>
>> My problem is that when the server's queue gets full, the health check
>> requests on /healthcheck start failing.
>>
>> Is it possible to have a separate queue for my health checks, or is there
>> another way to do this?
>>
>> (code sample)
>> ----
>>
>> I'm trying my chance in here, maybe someone has tried to do this before
>> and has thoughts about it?
>>
>> Thanks
>> Benjamin
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users