-
Hello! I moved all volumes (pgdata, model-cache and of course library), to an external hard drive to save space on the sdcard and noticed that the disk never spins down even though all the library scanning and other jobs are finished. I used
I don't really understand programming, node.js, postgreSQL nor docker, so this communication between immich_server and immich_microservices is where I failed to continue following the track... I ultimately plan to move everything to a SSD so drive not spinning down won't be an issue (useless constant writes could be though!), but I'm curious. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
We use the database for websocket notifications, so this is what you're seeing. It should stop if there are no active clients (e.g. no open browser windows, not using the app, ...) |
Beta Was this translation helpful? Give feedback.
-
We use the socket.io library for notifications between the components of Immich and to connected clients over websockets. The backend connection between components runs via Postgres, and by default has a heartbeat message every 5 seconds (see https://socket.io/docs/v4/postgres-adapter/#options). That's what you're seeing here. |
Beta Was this translation helpful? Give feedback.
We use the socket.io library for notifications between the components of Immich and to connected clients over websockets. The backend connection between components runs via Postgres, and by default has a heartbeat message every 5 seconds (see https://socket.io/docs/v4/postgres-adapter/#options). That's what you're seeing here.