forked from Cutlery/immich
		
	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
This commit is contained in:
		
							parent
							
								
									3b4f6edbdb
								
							
						
					
					
						commit
						045bb855d2
					
				@ -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}] `);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user