opensensorhub / osh-core

OpenSensorHub Core Modules
http://docs.opensensorhub.org
Mozilla Public License 2.0
32 stars 16 forks source link

Allow more flexible database purge policy configuration #268

Closed earocorn closed 1 month ago

earocorn commented 1 month ago

This change updates the database purge policy to be a list of purge policies, for the purpose of targeting specific systems with specific purge periods and max record ages. This improves the flexibility of database purging and allows for databases that are easier to maintain.

alexrobin commented 1 month ago

Looks good. Did you test it with multiple policies? Does it look OK in the admin UI?