Allow limiting number of allowed user templates

Adds maxUserTemplates directive.
Closes #136
This commit is contained in:
Sandro Santilli
2014-02-13 14:55:31 +01:00
parent 4254f56093
commit e4cd37647e
8 changed files with 116 additions and 6 deletions
@@ -24,6 +24,8 @@ var config = {
// Maximum number of connections for one process
// 128 is a good value with a limit of 1024 open file descriptors
,maxConnections:128
// Maximum number of templates per user. Unlimited by default.
,maxUserTemplates:1024
// idle socket timeout, in miliseconds
,socket_timeout: 600000
,enable_cors: true