Skip to content

Prune logs table when processed feeds#1594

Merged
angrybrad merged 3 commits into5.xfrom
feature/prune-db-logs-table
Feb 7, 2025
Merged

Prune logs table when processed feeds#1594
angrybrad merged 3 commits into5.xfrom
feature/prune-db-logs-table

Conversation

@timkelty
Copy link
Contributor

@timkelty timkelty commented Feb 7, 2025

Description

The logs UI currently has a hard-coded limit of 300, so there's no point in storing more records than that in the feedme_logs table.

This prunes the table to the most recent 300 on feed processing and garbage collection.

Related issues

Fixes #1494

@timkelty timkelty marked this pull request as ready for review February 7, 2025 19:01
@timkelty timkelty requested a review from angrybrad as a code owner February 7, 2025 19:01
@angrybrad angrybrad merged commit b566c08 into 5.x Feb 7, 2025
6 checks passed
@angrybrad angrybrad deleted the feature/prune-db-logs-table branch February 7, 2025 19:03
angrybrad added a commit that referenced this pull request Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants