File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -60,4 +60,4 @@ WHERE rr.name = 'Submitter'
6060 ) BETWEEN $2 ::timestamptz AND $3 ::timestamptz )
6161 )
6262 ))
63- LIMIT 100 ;
63+ LIMIT 500 ;
Original file line number Diff line number Diff line change 1- import type { Server } from "http" ;
21import { ValidationPipe } from "@nestjs/common" ;
32import { NestFactory } from "@nestjs/core" ;
43import { DocumentBuilder , SwaggerModule } from "@nestjs/swagger" ;
@@ -34,16 +33,6 @@ async function bootstrap() {
3433 const document = SwaggerModule . createDocument ( app , config ) ;
3534 SwaggerModule . setup ( "/v6/reports/api-docs" , app , document ) ;
3635
37- const httpServer = app . getHttpAdapter ( ) . getHttpServer ( ) as Server ;
38-
39- // Request timeout (no activity on socket)
40- httpServer . setTimeout ( 300_000 ) ; // 5 min
41-
42- // Optional but recommended when long requests + keep-alive are used:
43- // keepAliveTimeout must be < headersTimeout
44- httpServer . keepAliveTimeout = 295_000 ; // how long to keep idle keep-alive sockets
45- httpServer . headersTimeout = 300_000 ; // max time to receive complete headers
46-
4736 await app . listen ( port ) ;
4837 console . log ( `Application is running on: ${ await app . getUrl ( ) } ` ) ;
4938 console . log (
You can’t perform that action at this time.
0 commit comments