diff --git a/python/gui_model.py b/python/gui_model.py index e5d931c..f8d5f3c 100644 --- a/python/gui_model.py +++ b/python/gui_model.py @@ -131,7 +131,7 @@ class dashboard_data_model(QtCore.QAbstractTableModel): self.lock.release() self.prune() - #weeds out ICAOs older than 5 minutes + #weeds out ICAOs older than 1 minute def prune(self): self.lock.acquire() for (index,row) in enumerate(self._data): diff --git a/python/kml.py b/python/kml.py index 329f0d3..1b6c04d 100644 --- a/python/kml.py +++ b/python/kml.py @@ -188,7 +188,7 @@ class output_jsonp(output_kml): # retstr += """\t\n\t\tAircraft locations\n\t\t0""" #read the database and add KML - q = "select distinct icao from positions where seen > datetime('now', '-5 minute')" + q = "select distinct icao from positions where seen > datetime('now', '-1 minute')" c = self._db.cursor() self.locked_execute(c, q) icaolist = c.fetchall()