Add retention and cleanup admin settings

Created on 8 January 2025, about 21 hours ago

Problem/Motivation

Search API Stats module lacks a cleanup mechanism, leading to an ever-growing database. This makes it difficult to surface new popular words or trends and increases storage usage over time. A configurable cleanup process is needed to keep the data fresh and manageable.

Proposed resolution

Introduce a configurable cleanup features that allow administrators to:

  • Enable or disable automated cleanup.
  • Set a retention period to keep data for a specified number of days (e.g., 30 days).
  • Configure how often the cleanup runs (e.g., daily, weekly, or monthly).

This will ensure the database remains optimized and contains only relevant, up-to-date statistics.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States j-barnes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024