Skip to content

Commit 6a92290

Browse files
jdiciocciovladd11
authored andcommitted
fix: increase upload timeout (immich-app#15588)
Fix upload timeout issue Fix an issue where when uploading a large file, the upload would consistently abort after 30 minutes. I changed this timeout from 30 minutes to 1 day. Maybe that's excessive, or maybe the timeout isn't even needed, but the current 30 minute timeout definitely seems way too short.
1 parent 8a5c42e commit 6a92290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/workers/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function bootstrap() {
6262
app.use(app.get(ApiService).ssr(excludePaths));
6363

6464
const server = await (host ? app.listen(port, host) : app.listen(port));
65-
server.requestTimeout = 30 * 60 * 1000;
65+
server.requestTimeout = 24 * 60 * 60 * 1000;
6666

6767
logger.log(`Immich Server is listening on ${await app.getUrl()} [v${serverVersion}] [${environment}] `);
6868
}

0 commit comments

Comments
 (0)