Unless I'm missing this somewhere, there doesn't seem to be any mechanism for cleaning up old queue logs.
On queues that run frequently, this would result in the database table swelling in size over time.

Ideally, there would be a cron job that would periodically clean up completed or failed log entries.
This should be configurable per job type, based on time (i.e. keep logs for x days) or a limit (i.e. keep the last n log entries).

Comments

nplowman created an issue. See original summary.

ericpugh’s picture

brunodbo’s picture

Adding the issue where automatic queue cleanup got added in D7, might have some useful bits.

bojanz’s picture

Status: Active » Closed (duplicate)