From 299ae1cadc11de88dde68a6881ae498cc75cfb01 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 25 Sep 2014 20:24:52 +0100 Subject: [PATCH] niantic have increased the tiles-per-request setting to, at least, 10 (with some experiments of larger values - 25 and 50 - that have been reverted for now) --- code/map_data_request.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/map_data_request.js b/code/map_data_request.js index 4da06919..4cf5eb4d 100644 --- a/code/map_data_request.js +++ b/code/map_data_request.js @@ -25,9 +25,10 @@ window.MapDataRequest = function() { this.MAX_REQUESTS = 5; // this many tiles in one request - this.NUM_TILES_PER_REQUEST = 4; + this.NUM_TILES_PER_REQUEST = 10; // number of times to retry a tile after an error (including "error: TIMEOUT" now - as stock intel does) + // TODO? different retry counters for TIMEOUT vs other errors..? this.MAX_TILE_RETRIES = 5; // refresh timers