immich/server/test
Thomas 3ce353393a
chore(server): don't insert embeddings if the model has changed ()
* chore(server): don't insert embeddings if the model has changed

We're moving away from the heuristic of waiting for queues to complete. The job
which inserts embeddings can simply check if the model has changed before
inserting, rather than attempting to lock the queue.

* more robust dim size update

* use check constraint

* index command cleanup

* add create statement

* update medium test, create appropriate extension

* new line

* set dimension size when running on all assets

* why does it want braces smh

* take 2

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2025-04-29 14:23:01 -04:00
..
fixtures refactor: user avatar color () 2025-04-28 08:54:51 -05:00
medium feat: notifications () 2025-04-28 10:36:14 -04:00
repositories feat(server): JXL previews from DNG 1.7+ () 2025-04-28 18:18:46 -04:00
sql-tools feat: initial kysely migration file () 2025-04-17 17:38:47 -04:00
medium.factory.ts chore(server): don't insert embeddings if the model has changed () 2025-04-29 14:23:01 -04:00
small.factory.ts feat: notifications () 2025-04-28 10:36:14 -04:00
utils.ts feat: notifications () 2025-04-28 10:36:14 -04:00
vitest.config.medium.mjs feat: medium tests for user and sync service () 2025-02-25 16:31:07 +00:00
vitest.config.mjs fix: failing ci checks () 2025-04-23 10:59:54 -04:00