From 045bb855d2bf52d1ce412601a219b9bca9251382 Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Thu, 15 Jun 2023 14:21:31 +0100 Subject: [PATCH] fix: increase request timeout from 5 minutes to 30 minutes (#2769) since node 18 the default request timeout was changed from unlimited to 5 minutes --- server/src/immich/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}] `); }