Add pending test for X-Cache-Channel on tiler restart (#152)
This commit is contained in:
@@ -241,7 +241,8 @@ module.exports = function(){
|
||||
me.affectedTables(username, req.params.map_key, sql, function(err, tableNames) {
|
||||
if ( err ) { callback(err); return; }
|
||||
var cacheChannel = me.buildCacheChannel(dbName,tableNames);
|
||||
me.channelCache[cacheKey] = cacheChannel; // store for caching
|
||||
// store for caching from me.generateCacheChannel
|
||||
me.channelCache[cacheKey] = cacheChannel;
|
||||
callback(null, cacheChannel);
|
||||
});
|
||||
};
|
||||
@@ -335,7 +336,8 @@ module.exports = function(){
|
||||
|
||||
if ( err ) { done(err); return; }
|
||||
var cacheChannel = me.buildCacheChannel(dbName,tableNames);
|
||||
me.channelCache[cacheKey] = cacheChannel; // store for caching
|
||||
// store for caching from me.afterLayergroupCreate
|
||||
me.channelCache[cacheKey] = cacheChannel;
|
||||
// find last updated
|
||||
me.findLastUpdated(usr, key, tableNames, function(err, lastUpdated) {
|
||||
if (req.profiler) req.profiler.done('findLastUpdated');
|
||||
|
||||
Reference in New Issue
Block a user