Increase import / upload timeout via option in CLI tool
It would be cool to be able to configure the timeout depending on where it times out as an option for slow filesystems such as webdav. For example, I am importing my images as read only via webdav in a seafile backend.
Using the CLI many uploads work fine, however quite a few time out too:
thumbnail for asset a21a7a90-c4d5-430b-b445-0064747c7990
immich_microservices | [Nest] 7 - 09/14/2023, 3:57:49 PM ERROR [JobService] Unable to run job handler: Error: Connection terminated due to connection timeout
immich_microservices | [Nest] 7 - 09/14/2023, 3:57:49 PM ERROR [JobService] Error: Connection terminated due to connection timeout
immich_microservices | at Connection.<anonymous> (/usr/src/app/node_modules/pg/lib/client.js:132:73)
immich_microservices | at Object.onceWrapper (node:events:628:28)
immich_microservices | at Connection.emit (node:events:514:28)
immich_microservices | at Socket.<anonymous> (/usr/src/app/node_modules/pg/lib/connection.js:63:12)
immich_microservices | at Socket.emit (node:events:514:28)
immich_microservices | at TCP.<anonymous> (node:net:323:12)
immich_microservices | [Nest] 7 - 09/14/2023, 3:57:49 PM ERROR [JobService] Object:
immich_microservices | {
immich_microservices | "id": "80ed1677-13d3-4a99-a841-b676e18d6bb7",
immich_microservices | "source": "upload"
immich_microservices | }
immich_microservices |
immich_microservices |
4 Replies
That's a database timeout, not a filesystem one
hm than any Idea what the issue may be / how it can be resolved ?
Make sure there's enough system resources available so your database (or other stuff) doesn't get overwhelmed
It may help to try some of these things https://immich.app/docs/faq#how-can-i-lower-immichs-cpu-usage
I have paused all jobs except thumbnails
ah great thanks for the link