-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(server): Automatic watching of library folders #6192
Conversation
Deploying with
|
Latest commit: |
aff0810
|
Status: | ✅ Deploy successful! |
Preview URL: | https://71bdc3eb.immich.pages.dev |
Branch Preview URL: | https://feat-library-watching.immich.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this implementation have a way to remove the watcher for a library without restarting the container?
How will the file watching behave when it's running in multiple containers simultaneously?
It's just a draft still, much work left to be done. I wanted the GitHub actions tests to run |
…/library-watching
…/library-watching
…/library-watching
…/library-watching
…/library-watching
…/immich into feat/library-watching
…/library-watching
What happens if the external library gets unmounted? |
I tried, and it sent file deletion events for all files that are now missing. The files then become offline |
…/library-watching
Hello, I upgraded to 1.94.1 and enabled “Automatic library watching (experimental)”, but the following error occurred:
|
@nodis you can fix your system with this https://stackoverflow.com/questions/55763428/react-native-error-enospc-system-limit-for-number-of-file-watchers-reached |
@alextran1502 thank you very much |
@alextran1502 hello,I followed the instructions and added a line to the sysctl. conf file: "fs.inotify.max_user_watches=524288"
|
@nodis Your database isn't running. Can you double check that? |
Performance is still an unknown. I suggest we merge this and let daring users enable the watcher config flag and report back.