decrease retry count on failed requests, and increase delay before retrying. another step to help reduce issues when IITC breaks due to site changes
This commit is contained in:
parent
184e451bd3
commit
8c810e4e73
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user