Skip to main content

Module retention

Module retention 

Source
Expand description

Retention and garbage-collection for the unified session store.

Structs§

RetentionPolicy
Retention policy applied to the set of per-session stores.

Functions§

apply_retention
Apply the retention policy, removing the oldest / stale sessions.
gc_legacy
Remove the legacy history/ and logs/ directories after they have been imported into the unified store by crate::migrate_legacy.