Skip to content

fix: purge soft-deleted entries after 12 hours as documented#4860

Open
solracsf wants to merge 1 commit into
mainfrom
fix/janitor-purge-undo-window
Open

fix: purge soft-deleted entries after 12 hours as documented#4860
solracsf wants to merge 1 commit into
mainfrom
fix/janitor-purge-undo-window

Conversation

@solracsf

Copy link
Copy Markdown
Member

The janitor cron purged comments, options and shares 4320 seconds (72 minutes) after their virtual deletion, while the comment states a 12 hours undo window (43200 seconds), a dropped zero, present since the purge was introduced.

Add a regression test covering both sides of the window.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

@dartcafe dartcafe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. I will repeat 2nd math class. ;-)

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.

2 participants