Skip to main content

prune

Function prune 

Source
pub async fn prune(panel: &PanelHandle, age: Duration) -> Result<()>
Expand description

Deletes the AuditEntry rows of panel older than age. Nothing else deletes them but forget_tenant; a job calls it on the schedule the app keeps its audit trail for.

§Errors

The driver’s failure when the rows cannot be deleted.