Add maxConnection environment configuration, have it default to 128
The number gives the maximum number of contemporary connections and is dimensioned on the limit of open file descriptors found to be needed on a per-connection basis.
This commit is contained in:
@@ -2,6 +2,9 @@ var config = {
|
||||
environment: 'development'
|
||||
,port: 8181
|
||||
,host: '127.0.0.1'
|
||||
// Maximum number of connections for one process
|
||||
// 128 is a good value with a limit of 1024 open file descriptors
|
||||
,maxConnections:128
|
||||
// idle socket timeout, in miliseconds
|
||||
,socket_timeout: 600000
|
||||
,enable_cors: true
|
||||
|
||||
Reference in New Issue
Block a user