From f5c5b08a4d3b0fc78e9b3d3c15fcdd2a01061923 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Fri, 24 Oct 2014 01:46:18 +0100 Subject: [PATCH] the recent increase of TILES_PER_REQUEST means more error: TIMEOUT responses for tiles. they are, again, 'normal' so reduce the retry delay on these close to the delay used after successful requests. --- 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 fe9f22ab..63f643c3 100644 --- a/code/map_data_request.js +++ b/code/map_data_request.js @@ -47,8 +47,8 @@ window.MapDataRequest = function() { // 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 a less severe error than other errors - this.TIMEOUT_REQUEST_RUN_QUEUE_DELAY = 0.5; + // 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; // render queue