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

Reply via email to