mirror of
https://github.com/immich-app/immich.git
synced 2025-03-24 17:05:55 +01:00
fix: increase upload timeout (#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.
This commit is contained in:
parent
10e518db42
commit
39697cd973
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ async function bootstrap() {
|
|||
app.use(app.get(ApiService).ssr(excludePaths));
|
||||
|
||||
const server = await (host ? app.listen(port, host) : app.listen(port));
|
||||
server.requestTimeout = 30 * 60 * 1000;
|
||||
server.requestTimeout = 24 * 60 * 60 * 1000;
|
||||
|
||||
logger.log(`Immich Server is listening on ${await app.getUrl()} [v${serverVersion}] [${environment}] `);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue