Clean up orphan images

This commit is contained in:
jude committed 2026-10-12 21:39:34 +01:00
1 parent 8763a8e74a
commit c3bb015d2f
11 files changed
+496 -2

No files matched your search

+3
View File
@@ -32,3 +32,6 @@ S3_PUBLIC_URL=
S3_ENDPOINT=
# NSFW moderation is enabled by default. Set false (or 0/off) to disable it.
NSFW_CHECK_ENABLED=true
# Seconds to retain an upload after cleanup first detects that it is orphaned.
# Must be positive. Defaults to seven days when absent or blank.
IMAGE_UPLOAD_ORPHAN_RETENTION_SECONDS=604800