mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 20:36:48 +01:00
4a5b8c3770
* feat(server): Enqueue jobs in bulk The Job Repository now has a `queueAll` method, that enqueues messages in bulk (using BullMQ's [`addBulk`](https://docs.bullmq.io/guide/queues/adding-bulks)), improving performance when many jobs must be enqueued within the same operation. Primary change is in `src/domain/job/job.service.ts`, and other services have been refactored to use `queueAll` when useful. As a simple local benchmark, triggering a full thumbnail generation process over a library of ~1,200 assets and ~350 faces went from **~600ms** to **~250ms**. * fix: Review feedback |
||
---|---|---|
.. | ||
access.repository.mock.ts | ||
activity.repository.mock.ts | ||
album.repository.mock.ts | ||
api-key.repository.mock.ts | ||
asset.repository.mock.ts | ||
audit.repository.mock.ts | ||
communication.repository.mock.ts | ||
crypto.repository.mock.ts | ||
database.repository.mock.ts | ||
index.ts | ||
job.repository.mock.ts | ||
library.repository.mock.ts | ||
machine-learning.repository.mock.ts | ||
media.repository.mock.ts | ||
metadata.repository.mock.ts | ||
move.repository.mock.ts | ||
partner.repository.mock.ts | ||
person.repository.mock.ts | ||
shared-link.repository.mock.ts | ||
smart-info.repository.mock.ts | ||
storage.repository.mock.ts | ||
system-config.repository.mock.ts | ||
system-info.repository.mock.ts | ||
tag.repository.mock.ts | ||
user-token.repository.mock.ts | ||
user.repository.mock.ts |