Fix use of maxUserTemplate configuration variable
This commit is contained in:
parent
e4cd37647e
commit
4a6af108b4
@ -30,10 +30,10 @@ var CartodbWindshaft = function(serverOptions) {
|
||||
}
|
||||
|
||||
serverOptions.signedMaps = new SignedMaps(redisPool);
|
||||
var templateMapsOps = {
|
||||
var templateMapsOpts = {
|
||||
max_user_templates: global.environment.maxUserTemplates
|
||||
}
|
||||
var templateMaps = new TemplateMaps(redisPool, serverOptions.signedMaps);
|
||||
var templateMaps = new TemplateMaps(redisPool, serverOptions.signedMaps, templateMapsOpts);
|
||||
|
||||
// boot
|
||||
var ws = new Windshaft.Server(serverOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user