[PR #9981] chore: change default thumbnail concurrency and auto-detect container core count #12709

Closed
opened 2026-02-05 15:02:01 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/9981

State: closed
Merged: Yes


Drop default thumbnail concurrency to 3 to avoid contention with the default UV_THREADPOOL_SIZE of 4.

Automatically detect container core count, respects docker cgroup limits and then bumps UV_THREADPOOL_SIZE as long as core count is set greater than 4, otherwise it leaves the threadpool size at 4.

**Original Pull Request:** https://github.com/immich-app/immich/pull/9981 **State:** closed **Merged:** Yes --- Drop default thumbnail concurrency to 3 to avoid contention with the default UV_THREADPOOL_SIZE of 4. Automatically detect container core count, respects docker cgroup limits and then bumps UV_THREADPOOL_SIZE as long as core count is set greater than 4, otherwise it leaves the threadpool size at 4.
OVERLORD added the pull-request label 2026-02-05 15:02:01 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#12709