|
@@ -23,6 +23,7 @@ async function bootstrapExpress() {
|
|
app = await NestFactory.create<NestExpressApplication>(SqlModule, {
|
|
app = await NestFactory.create<NestExpressApplication>(SqlModule, {
|
|
logger: false,
|
|
logger: false,
|
|
});
|
|
});
|
|
|
|
+ app.getHttpServer().keepAliveTimeout = 0;
|
|
}
|
|
}
|
|
|
|
|
|
app.setBaseViewsDir(join(__dirname, '..', 'views'));
|
|
app.setBaseViewsDir(join(__dirname, '..', 'views'));
|
|
@@ -40,12 +41,14 @@ async function bootstrapFastify() {
|
|
new FastifyAdapter(),
|
|
new FastifyAdapter(),
|
|
{ logger: false },
|
|
{ logger: false },
|
|
);
|
|
);
|
|
|
|
+ app.getHttpServer().keepAliveTimeout = 0;
|
|
} else {
|
|
} else {
|
|
app = await NestFactory.create<NestFastifyApplication>(
|
|
app = await NestFactory.create<NestFastifyApplication>(
|
|
SqlModule,
|
|
SqlModule,
|
|
new FastifyAdapter(),
|
|
new FastifyAdapter(),
|
|
{ logger: false },
|
|
{ logger: false },
|
|
);
|
|
);
|
|
|
|
+ app.getHttpServer().keepAliveTimeout = 0;
|
|
}
|
|
}
|
|
|
|
|
|
app.setViewEngine({
|
|
app.setViewEngine({
|