Skip to content

Commit

Permalink
Bugfix for request hangs when X-TileStrata-CacheWait:1 and no caches …
Browse files Browse the repository at this point in the history
…configured for layer
  • Loading branch information
brianreavis committed Apr 17, 2017
1 parent a2c62d5 commit dfaaba2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/TileRequestHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ TileRequestHandler.prototype['GET'] = function(server, req, callback) {
callback();
},
function step_cacheResult(callback) {
if (!self.caches.length) return callback();
async.map(self.caches, function(cache, callback) {
var __profile = server.profile(cache.id+'.set', req);
cache.plugin.set(server, req, renderedBuffer, cacheHeaders, function(err) {
Expand Down

0 comments on commit dfaaba2

Please sign in to comment.