ynput / ayon-backend

Server codebase with API access to AYON
Apache License 2.0
21 stars 15 forks source link

Thumbnails: Optimize thumbnails process #365

Open martastain opened 1 hour ago

martastain commented 1 hour ago

Story

Offloading thumbnails from the database to the project storage is supported in https://github.com/ynput/ayon-backend/pull/364

Problems

Large thumbnails of old projects still live in the DB

Proposal

A background process that would move all large thumbnails from the database to the project storage.

martastain commented 1 hour ago

We can leverage the fact unprocessed (old) thumbnails have meta field set to {}