yanic icon indicating copy to clipboard operation
yanic copied to clipboard

Option to set prune_after on a per output base

Open maurerle opened this issue 3 months ago • 0 comments

Proposal

We would not like to prune the whole state.json but only old nodes from the output (e.g. meshviewer.json) - currently, I can only set prune_after on the state.json settings, but not per output.

It would be handy to have it per output, so that one can still see, that a node was seen before 30 days, even if it was offline for more than 14 days in between.

Alternatives

An alternative approach would be to increase prune_after to 90d in the yanic.conf and add the option to only show younger nodes than 7d on the map in meshviewer.json. Currently, meshviewer shows all nodes and does only limit maxAge for the new Node and old Nodes view. This could be adjusted, so that meshviewer does not show nodes which are longer offline than maxAge

maurerle avatar Apr 04 '24 11:04 maurerle