vcal Posted April 13, 2010 Report Share Posted April 13, 2010 How often does the map update? I watched mine and it seemed to update every 5 secs. 5 mins would be better. Can it be changed? UPDATE It has been over 12 hours since a pilot logged off and is still showing at destination on the map. Ideas anybody? Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted April 13, 2010 Report Share Posted April 13, 2010 kACARS updates every 1 minute The reason you stay on the map that long is part of your local config in phpVMS. # ACARS options # Minutes, flights to show on the ACARS # Default is 720 minutes (12 hours) Config::Set('ACARS_LIVE_TIME', 5); Config::Set('ACARS_DEBUG', false); Adjust the ACARS LIVE TIME Quote Link to comment Share on other sites More sharing options...
vcal Posted April 13, 2010 Author Report Share Posted April 13, 2010 kACARS updates every 1 minute Done that, is there any wya to reduce the update time? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 13, 2010 Administrators Report Share Posted April 13, 2010 Done that, is there any wya to reduce the update time? Which version are you on? It's in the acarsmap.js file IIRC, it's moved for the next version into the template Quote Link to comment Share on other sites More sharing options...
vcal Posted April 13, 2010 Author Report Share Posted April 13, 2010 Which version are you on? It's in the acarsmap.js file IIRC, it's moved for the next version into the template Version 854. Is it possible to give us the choice of how often it updates rather than alter files? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 13, 2010 Administrators Report Share Posted April 13, 2010 Version 854. Is it possible to give us the choice of how often it updates rather than alter files? Unfortunately, in that version, you have to change it in one file. In 2.1, it's in the template. But it's a tiny change. In lib/js/acarsmap.js, this line: setInterval(function () { liveRefresh(); }, 6000); Change the 6000 to the number of second to refresh. It's in milliseconds. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.