From 5845c37daf0e287e68dc303f48e6984130d6764e Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 28 Mar 2015 18:32:40 +0000 Subject: [PATCH] change tile loading delays to zero. stock intel doesn't wait, and the current tile params for further out zooms need a large number of requests, making any delays here add up quickly --- code/map_data_request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/map_data_request.js b/code/map_data_request.js index 5a834982..a1e9af30 100644 --- a/code/map_data_request.js +++ b/code/map_data_request.js @@ -42,13 +42,13 @@ window.MapDataRequest = function() { // a short delay between one request finishing and the queue being run for the next request. - this.RUN_QUEUE_DELAY = 0.05; + this.RUN_QUEUE_DELAY = 0; // delay before processing the queue after failed requests this.BAD_REQUEST_RUN_QUEUE_DELAY = 10; // longer delay before doing anything after errors (other than TIMEOUT) // delay before processing the queue after error==TIMEOUT requests. this is 'expected', so minimal extra delay over the regular RUN_QUEUE_DELAY - this.TIMEOUT_REQUEST_RUN_QUEUE_DELAY = 0.1; + this.TIMEOUT_REQUEST_RUN_QUEUE_DELAY = 0; // render queue