Skip to content

Commit

Permalink
🤬force gull gc
Browse files Browse the repository at this point in the history
  • Loading branch information
shepilov committed Jan 30, 2025
1 parent 988907e commit 596a241
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tdrive/backend/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 5 additions & 2 deletions tdrive/backend/node/test/http/diagnostic.http
Original file line number Diff line number Diff line change
@@ -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

{
}
}
###

GET http://localhost:4000/diagnostics/t/ready?secret=1234

0 comments on commit 596a241

Please sign in to comment.