[Server] Cleanup Task: Expired Temp Segments #34
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Implement scheduled task to clean up expired temporary hi-res segments (24-hour TTL).
Tasks
services/mam-api/src/tasks/cleanupTempSegments.jsImplementation Details
S3 Lifecycle Policy
Configure S3 bucket lifecycle rule:
temp-segments/Files
services/mam-api/src/tasks/cleanupTempSegments.jsservices/mam-api/src/index.js(register task)Testing
Estimated Time
4 hours