keepthatworktoyourself / wombat

Not another website builder. Public repo — raise issues, request features, get help.
2 stars 0 forks source link

Periodic S3 bucket cleanup #354

Open bhallstein opened 7 months ago

bhallstein commented 7 months ago
  1. process_unconfirmed_media_item_cleanup() currently finds stale uploads but does not clean them up (see: https://github.com/keepthatworktoyourself/wombat/issues/340) Once this has been demonstrated as robust, add cleanup code.
  2. Consider periodically removing items from S3 that do not match anything in media_items (NB: also avatars, bundles, site thumbnails in S3) (This could get tricky if/when S3 bucket has many items)