1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00

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

since node 18 the default request timeout was changed from unlimited to 5 minutes
This commit is contained in:
Zack Pollard 2023-06-15 03:35:54 +01:00 committed by GitHub
parent 41c2c8b82d
commit 1cbf9ff621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,8 @@ export async function bootstrap() {
useSwagger(app, isDev);
await app.get(AppService).init();
await app.listen(port);
const server = await app.listen(port);
server.setTimeout(1800000);
logger.log(`Immich Server is listening on ${port} [v${SERVER_VERSION}] [${envName}] `);
}