increase timers for loading map data - should be less aggresasive now.

still not 100% happy, but it's better...
This commit is contained in:
Jon Atkins 2013-09-02 03:50:22 +01:00
parent 2565478c1f
commit a8516d92ff

View File

@ -24,9 +24,9 @@ window.MapDataRequest = function() {
this.MAX_TILE_RETRIES = 1; this.MAX_TILE_RETRIES = 1;
// refresh timers // refresh timers
this.MOVE_REFRESH = 1; //refresh time to use after a move this.MOVE_REFRESH = 2.5; //refresh time to use after a move
this.STARTUP_REFRESH = 2; //refresh time used on first load of IITC this.STARTUP_REFRESH = 5; //refresh time used on first load of IITC
this.IDLE_RESUME_REFRESH = 5; //refresh time used after resuming from idle this.IDLE_RESUME_REFRESH = 10; //refresh time used after resuming from idle
this.REFRESH = 60; //minimum refresh time to use when not idle and not moving this.REFRESH = 60; //minimum refresh time to use when not idle and not moving
this.FETCH_TO_REFRESH_FACTOR = 2; //refresh time is based on the time to complete a data fetch, times this value this.FETCH_TO_REFRESH_FACTOR = 2; //refresh time is based on the time to complete a data fetch, times this value