ImmichI
Immich3y ago
coxtor

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 |
Was this page helpful?