vcal Posted April 13, 2010 Report 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
Guest lorathon Posted April 13, 2010 Report 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
vcal Posted April 13, 2010 Author Report Posted April 13, 2010 kACARS updates every 1 minute Done that, is there any wya to reduce the update time? Quote
Administrators Nabeel Posted April 13, 2010 Administrators Report 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
vcal Posted April 13, 2010 Author Report 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
Administrators Nabeel Posted April 13, 2010 Administrators Report 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
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.