restx/restx — pull request #77 by lucaspouzac (2014-03-29 08:30:45+00:00)
Title: Modify jetty max threads

Hi,

If you run tests on a server with more than 10 CPUs, jetty blocks. MaxThreads must be at least equal to the number of CPU.

starting server
2014-03-28 10:22:40,217 [main ] [ ] INFO org.eclipse.jetty.server.Server - jetty-8.1.8.v20121106
LoginService=HashLoginService[null] identityService=org.eclipse.jetty.security.DefaultIdentityService@7907f014
2014-03-28 10:22:40,449 [main ] [ ] INFO restx.RestxMainRouterFactory - LOADING MAIN ROUTER
2014-03-28 10:22:40,450 [main ] [ ] INFO restx.RestxMainRouterFactory -
--------------------------------------
-- RESTX >> LOAD ON REQUEST << >> CLEAN << >> TEST MODE <<
-- for admin console,
-- VISIT http://127.0.0.1:43551/api/@/ui/
--

2014-03-28 10:22:40,547 [main ] [ ] WARN o.e.jetty.server.AbstractConnector - insufficient threads configured for SelectChannelConnector@0.0.0.0:43551
server started

---------------------------------------------------------------------------------
>> REQUEST
GET http://127.0.0.1:43551/api/samples (infinite wait)