fix(core): update

This commit is contained in:
Philipp Kunz 2023-07-01 11:55:35 +02:00
parent e1e1d4bf65
commit be7f4c503e
3 changed files with 4 additions and 4 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.55',
version: '2.0.56',
description: 'easy serving of static files'
}

View File

@ -101,11 +101,11 @@ export class Server {
console.log('Using externally supplied http server');
}
this.httpServer.keepAliveTimeout = 600 * 1000;
this.httpServer.headersTimeout = 600 * 1000;
this.httpServer.headersTimeout = 20 * 1000;
// general request handlling
this.expressAppInstance.use((req, res, next) => {
req.setTimeout(60 * 1000);
next();
});

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.55',
version: '2.0.56',
description: 'easy serving of static files'
}