UBERF-7428: Fix memory issues (#5940)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-06-28 22:21:28 +07:00
committed by GitHub
parent 3394d1ad82
commit 51383caa92
22 changed files with 303 additions and 191 deletions
+3 -3
View File
@@ -250,13 +250,13 @@ export function startHttpServer (
zlibDeflateOptions: {
// See zlib defaults.
chunkSize: 32 * 1024,
memLevel: 9,
memLevel: 1,
level: 1
},
zlibInflateOptions: {
chunkSize: 32 * 1024,
level: 1,
memLevel: 9
memLevel: 1
},
serverNoContextTakeover: true,
clientNoContextTakeover: true,
@@ -327,7 +327,7 @@ export function startHttpServer (
} catch (err: any) {
Analytics.handleError(err)
if (LOGGING_ENABLED) {
ctx.error('message error', err)
ctx.error('message error', { err })
}
}
})