[PR #7533] chore(server): Move library watcher to microservices #11675

Closed
opened 2026-02-05 14:43:55 +03:00 by OVERLORD · 0 comments
Owner

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

State: closed
Merged: Yes


This moves the library watcher to be running in the microservices.

Inspiration is from @jrasm91 who suggested this as a better option to #7509.

Here, if the watcher fails and stalls (as in #6833) we can stop the microservices container and disable the library watcher, unbricking the Immich install in a clean way

Added lock so that only one microservice takes care of the watcher in the case of multiple micros

Tests performed:

  • App init works
  • Library watcher automatically imports changes
  • This workflow works: Disable microservices in docker compose, start app, disable library watcher
  • Started multiple microservices and only one started the watcher
**Original Pull Request:** https://github.com/immich-app/immich/pull/7533 **State:** closed **Merged:** Yes --- This moves the library watcher to be running in the microservices. Inspiration is from @jrasm91 who suggested this as a better option to #7509. Here, if the watcher fails and stalls (as in #6833) we can stop the microservices container and disable the library watcher, unbricking the Immich install in a clean way Added lock so that only one microservice takes care of the watcher in the case of multiple micros Tests performed: * App init works * Library watcher automatically imports changes * This workflow works: Disable microservices in docker compose, start app, disable library watcher * Started multiple microservices and only one started the watcher
OVERLORD added the pull-request label 2026-02-05 14:43:55 +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#11675