Add automatic cleanup for old spam entities.

Currently spam entities can accumulate over time and increase database size, which may affect performance. It would be useful to add an option to automatically delete old spam entities.

Proposed solution: add configurable automatic cleanup via cron (with batch processing), optional QueueWorker support for safer processing of large datasets, and a Drush command for manual cleanup (e.g. drush nobotiq:spam-delete). It should also be possible to define retention rules, for example deleting spam older than X days.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

yurii novak created an issue. See original summary.

voleger’s picture

Status: Active » Needs work
voleger’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • voleger committed 7aabea0b on 1.0.x authored by yurii novak
    feat: #3588411 Add automatic cleanup (cron/Drush) for old spam entities...

alex_optim made their first commit to this issue’s fork.

alex_optim’s picture

Status: Fixed » Needs review

  • voleger committed ff00b072 on 1.0.x authored by alex_optim
    fix: #3588411 Add automatic cleanup (cron/Drush) for old spam entities...
voleger’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.