Also, I did this:

       Server server = new Server(Protocol.HTTP, port);
        component.getServers().add(server);
        server.getContext().getParameters().add("maxThreads​", "50");

But the thing still gives the message at 10 requests. 

Also, this crashes because I'm having a "master" use a heartbeat to check if
the worker nodes are up or not. It is a simple "are you alive?" "YES" get
request. Why would these threads not be getting back into the queue when the
request should be done really fast?

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Restlet-2-1-Consider-increasing-the-maximum-number-of-threads-error-tp6284662p6284868.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2721136

Reply via email to