From 6aa523fa4596726c1e5c737d05927950f60ebf0e Mon Sep 17 00:00:00 2001 From: Artem Derevnjuk Date: Tue, 1 Aug 2023 18:59:44 +0400 Subject: [PATCH] fix(repeater): override the max HTTP header size (#423) fixes #292 --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 9e537e24..bba22d6d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,7 @@ process.env.UV_THREADPOOL_SIZE = String(1024); +process.env.NODE_OPTIONS = `${ + process.env.NODE_OPTIONS ?? '' +} --max-http-header-size=40960`.trim(); import 'reflect-metadata'; import { GenerateArchive,