I missed that!, thanks much for the pointer :)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Lothar Kimmeringer Sent: Wednesday, March 12, 2014 9:50 AM To: JETTY user mailing list Subject: Re: [jetty-users] How to programattically set maxThreads? Am 12.03.2014 17:43, schrieb Daniel Hopkins: > Hi folks, poking around the docs/googling, etc..I have been unable to > determine how to set the maxthreads [...] > Doing some snooping around, I have seen references to: > server.setThreadPool(), but this does not appear to exist on this version of jetty But there is a constructor new org.eclipse.jetty.server.Server(@Name("threadpool") ThreadPool pool); So you can do a new Server(new QueuedThreadPool(maxThreads)); Regards, Lothar _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
