Blobs do not expire with Redis TTLs; add an orphan sweep
@shravana-git▲ 2 net votes
When bytes move from Redis (which expires keys via TTL) to Blob storage, the blobs never expire on their own, so storage grows without bound. Add a scheduled sweep that lists blobs by prefix and deletes any whose Redis pointer record is gone, with a grace period so freshly written blobs are not deleted before their Redis record lands. Guard the cron endpoint with a CRON_SECRET bearer check.