Hi, I'm using Restlet 1.0.10, and I'm having trouble setting the Jetty
parameters — specifically, "maxThreads", to limit the number of
threads that Jetty uses.
Here's what I'm doing:
---------
....
Server server = comp.getServers().add(Protocol.HTTP, 3000);
// The Restlet docs say the param is named "maxThread", but they're wrong
server.getContext().getParameters().add("maxThreads", 40);
....
comp.start();
---------
>From what I can tell from the docs and from reading the source, this
looks like it should work. But it isn't.
Anyone have any suggestions?
Thanks,
Avi
--
Avi Flax » Partner » Arc90 » http://arc90.com
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2362672