increase parallel requests - this matces behaviour of stock intel site, and speeds things up a bit

This commit is contained in:
Jon Atkins 2013-11-18 06:59:25 +00:00
parent 19ef029a65
commit 10e48fe449

View File

@ -15,8 +15,9 @@ window.MapDataRequest = function() {
this.idle = false; this.idle = false;
// no more than this many requests in parallel // no more than this many requests in parallel. stock site seems to rely on browser limits (6, usually), sending
this.MAX_REQUESTS = 4; // all requests at once. using our own queue limit ensures that other requests (e.g. chat) don't get postponed for too long
this.MAX_REQUESTS = 6;
// no more than this many tiles in one request // no more than this many tiles in one request
// as of 2013-11-11, or possibly the release before that, the stock site was changed to only request four tiles at a time // as of 2013-11-11, or possibly the release before that, the stock site was changed to only request four tiles at a time