Add notes about why we keep feeding the layergroupAffectedTables cache

This commit is contained in:
Raul Ochoa
2016-03-03 19:01:21 +01:00
parent 0036056c07
commit 7c154dd405
+1
View File
@@ -336,6 +336,7 @@ MapController.prototype.afterLayergroupCreate = function(req, res, mapconfig, la
req.profiler.done('queryTablesAndLastUpdated');
}
assert.ifError(err);
// feed affected tables cache so it can be reused from, for instance, layergroup controller
self.layergroupAffectedTables.set(dbName, layergroupId, result);
// last update for layergroup cache buster