From 596a2414894cbcb9f89a59f53ff442d65fe405bb Mon Sep 17 00:00:00 2001 From: Anton SHEPILOV Date: Fri, 31 Jan 2025 00:14:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=ACforce=20gull=20gc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/package.json | 2 +- tdrive/backend/node/test/http/diagnostic.http | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tdrive/backend/node/package.json b/tdrive/backend/node/package.json index b0e5ddec..43133697 100644 --- a/tdrive/backend/node/package.json +++ b/tdrive/backend/node/package.json @@ -18,7 +18,7 @@ "lint": "eslint . --ext .ts --quiet --fix", "lint:no-fix": "eslint . --ext .ts", "lint:prettier": "prettier --check --config .prettierrc 'src/**/*.ts'", - "serve": "node --unhandled-rejections=warn --max-http-header-size=30000 --trace-gc --trace-gc-verbose dist/server.js", + "serve": "node --unhandled-rejections=warn --max-http-header-size=30000 --trace-gc --gc-global dist/server.js", "serve:watch": "nodemon dist/server.js | pino-pretty", "serve:debug": "nodemon --inspect dist/server.js | pino-pretty", "start": "npm run serve", diff --git a/tdrive/backend/node/test/http/diagnostic.http b/tdrive/backend/node/test/http/diagnostic.http index f06c5629..01c9a413 100644 --- a/tdrive/backend/node/test/http/diagnostic.http +++ b/tdrive/backend/node/test/http/diagnostic.http @@ -1,6 +1,9 @@ -POST http://localhost:4000/diagnostics/heap?secret=diag-secret +POST http://localhost:4000/diagnostics/heap?secret=1234 Authorization: Basic admin admin Content-Type: application/json { -} \ No newline at end of file +} +### + +GET http://localhost:4000/diagnostics/t/ready?secret=1234