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:
parent
5bd8462964
commit
8f8a2ad8d6
@ -17,9 +17,11 @@ window.MapDataRequest = function() {
|
|||||||
|
|
||||||
// no more than this many requests in parallel
|
// no more than this many requests in parallel
|
||||||
this.MAX_REQUESTS = 4;
|
this.MAX_REQUESTS = 4;
|
||||||
|
|
||||||
// no more than this many tiles in one request
|
// 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)
|
// as of 2013-11-11, or possibly the release before that, the stock site was changed to only request four tiles at a time
|
||||||
this.MAX_TILES_PER_REQUEST = 32;
|
// (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
|
// 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;
|
this.MIN_TILES_PER_REQUEST = 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user