the stock site was updated to only request 4 tiles per request - so match this in iitc

(the response has only managed 4 tiles for a long time, with the rest returning 'timeout' and silently retried)
This commit is contained in:
Jon Atkins 2013-11-12 06:28:58 +00:00
parent 5bd8462964
commit 8f8a2ad8d6

View File

@ -17,9 +17,11 @@ window.MapDataRequest = function() {
// no more than this many requests in parallel
this.MAX_REQUESTS = 4;
// no more than this many tiles in one request
// (the stock site seems to have no limit - i've seen ~100 for L3+ portals and a maximised browser window)
this.MAX_TILES_PER_REQUEST = 32;
// as of 2013-11-11, or possibly the release before that, the stock site was changed to only request four tiles at a time
// (which matches the number successfully returned for a *long* time!)
this.MAX_TILES_PER_REQUEST = 4;
// try to maintain at least this may tiles in each request, by reducing the number of requests as needed
this.MIN_TILES_PER_REQUEST = 4;