diff --git a/code/map_data_request.js b/code/map_data_request.js index fac77036..9c4f52be 100644 --- a/code/map_data_request.js +++ b/code/map_data_request.js @@ -28,7 +28,7 @@ window.MapDataRequest = function() { this.MIN_TILES_PER_REQUEST = 4; // number of times to retry a tile after a 'bad' error (i.e. not a timeout) - this.MAX_TILE_RETRIES = 3; + this.MAX_TILE_RETRIES = 1; // refresh timers this.MOVE_REFRESH = 1; //time, after a map move (pan/zoom) before starting the refresh processing @@ -45,7 +45,7 @@ window.MapDataRequest = function() { this.RUN_QUEUE_DELAY = 0.5; // delay before requeuing tiles in failed requests - this.BAD_REQUEST_REQUEUE_DELAY = 5; // longer delay before retrying a completely failed request - as in this case the servers are struggling + this.BAD_REQUEST_REQUEUE_DELAY = 10; // longer delay before retrying a completely failed request - as in this case the servers are struggling // a delay before processing the queue after requeuing tiles. this gives a chance for other requests to finish // or other requeue actions to happen before the queue is processed, allowing better grouping of requests