Skip to content

High performance self-hosted photo and video management solution.

fix: increase request timeout from 5 minutes to 30 minutes (#2769)

Zack Pollard045bb855d2bf
diff --git a/server/src/immich/main.ts b/server/src/immich/main.ts
index 4ebe2db082..ea12a340af 100644
--- a/server/src/immich/main.ts
+++ b/server/src/immich/main.ts
@@ -29,7 +29,7 @@ export async function bootstrap() {
await app.get(AppService).init();
const server = await app.listen(port);
- server.setTimeout(1800000);
+ server.requestTimeout = 30 * 60 * 1000;
logger.log(`Immich Server is listening on ${port} [v${SERVER_VERSION}] [${envName}] `);
}