Ysurac / FlightAirMap

Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
https://www.flightairmap.com/
GNU Affero General Public License v3.0
516 stars 157 forks source link

Antenna icon element is injected every second #354

Closed gleven closed 6 years ago

gleven commented 6 years ago

While inspecting the live map, i realized that one antenna icon element is added every second

I think this is why my browser crashes after an hour of monitoring the live traffic.

Ysurac commented 6 years ago

Fixed in latest commit, but I think you have a very short $globalLiveInterval setting in require/settings.php.

gleven commented 6 years ago

Fixed. Indeed i have short live interval setting. (1 sec) What is the purpose of this setting?

Ysurac commented 6 years ago

$globalMapRefresh is in second when the map refresh $globalLiveInterval is number of seconds used to put a flight as "live".

gleven commented 6 years ago

I actually had the $globalMapRefresh as 1 sec and the $globalLiveInterval left to 200. It's fixed anyway