Allow configuring TTL of mapConfigs via "mapConfigTTL"

This commit is contained in:
Sandro Santilli
2014-02-13 15:44:54 +01:00
parent 4a6af108b4
commit 678d653ee9
6 changed files with 23 additions and 2 deletions
@@ -26,6 +26,11 @@ var config = {
,maxConnections:128
// Maximum number of templates per user. Unlimited by default.
,maxUserTemplates:1024
// Seconds since "last creation" before a detached
// or template instance map expires. Or: how long do you want
// to be able to navigate the map without a reload ?
// Defaults to 7200 (2 hours)
,mapConfigTTL: 7200,
// idle socket timeout, in miliseconds
,socket_timeout: 600000
,enable_cors: true