Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune logs table when processed feeds #1594

Merged
merged 3 commits into from
Feb 7, 2025
Merged

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