Skip to content

core: remove orphaned attachments in trash cleanup method#9301

Open
01zulfi wants to merge 2 commits intobetafrom
core/orphaned-attachment-cleanup
Open

core: remove orphaned attachments in trash cleanup method#9301
01zulfi wants to merge 2 commits intobetafrom
core/orphaned-attachment-cleanup

Conversation

@01zulfi
Copy link
Contributor

@01zulfi 01zulfi commented Feb 4, 2026

Closes #9280

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
@thecodrr
Copy link
Contributor

thecodrr commented Feb 4, 2026

This looks good but we should add a new endpoint in the server to allow bulk deletion.

@thecodrr
Copy link
Contributor

@01zulfi can you update this to use the bulk delete endpoint?

Also I don't think we should await the bulk delete request because it might cause a hang if there's a network issue. It should be fire and forget with logging if an error occurs.

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
@01zulfi 01zulfi requested a review from thecodrr February 13, 2026 08:02
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