apigee/usergrid-stack — pull request #31 by dhrim (2012-10-18 01:17:58+00:00)
Title: modify to set worker thread size.

Worker thread size could be set with System properties.
There are 2 proeprties. -Dserver.threadSize=40, -Dserver.threadSizeScale=5.

'server.threadSize' is absolute size irrespective of number of cpu core. 'server.threadSizeScale' is scale factor with number of cpu core.

if no setting, default size of work thread is 2 * number of cpu core. that is default value of Grizzly.

If both exists, 'server.threadSize" is used.