smsearcy / mesh-info

Collect and view information about an AREDN mesh network.
GNU General Public License v3.0
5 stars 2 forks source link

Recent links showing as current in the map view #36

Closed smsearcy closed 3 months ago

smsearcy commented 2 years ago

In the more recent APIs (1.9+?) with link data in the JSON, I think I saw that they are reporting recent links. Since we have our own tracking recent links, I don't think those should be saved in Mesh Info.

TODO: Update the ticket with the example JSON

smsearcy commented 3 months ago

I observed the issue again of recent links showing up on the map. Digging into it a little more, I think it's just a matter of the GeoJSON data being cached, rather the reloaded. That should be a simple fix. Other views related to the map use 120 seconds for the cache, so I'll do that for consistency.

Edit: Now I'm not so sure because I saw the links listed as Active in the Pyramid Debug Toolbar, which I shouldn't have seen if the browser was caching. So maybe something else is caching in Python, need to double check that.

smsearcy commented 3 months ago

Closing as duplicate of #114 (leaving that ticket since the description on this one, about the API, is inaccurate).