Skip to content

add janitor job: remove orphaned votes#4187

Merged
dartcafe merged 2 commits into
mainfrom
enh/janitor-cron-purge-orphaned-votes
Jul 26, 2025
Merged

add janitor job: remove orphaned votes#4187
dartcafe merged 2 commits into
mainfrom
enh/janitor-cron-purge-orphaned-votes

Conversation

@dartcafe

Copy link
Copy Markdown
Collaborator

Add a janitor job to remove orphaned votes from the database.

This seems to be necessary, because old orphaned votes can impact database performance.

This can result in a vote loss, where an option got deleted and again restored, when the jantor cron is been triggered between deletion and restore.

Signed-off-by: dartcafe <github@dartcafe.de>
@dartcafe dartcafe added this to the 8.2 milestone Jul 25, 2025
Signed-off-by: dartcafe <github@dartcafe.de>
@dartcafe dartcafe merged commit 01038ff into main Jul 26, 2025
45 checks passed
@dartcafe dartcafe deleted the enh/janitor-cron-purge-orphaned-votes branch July 27, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant