Write a heap dump to a disk when SIGUSR1 signal is received (#6571)

This commit is contained in:
Kamil Kisiela 2025-03-03 13:51:08 +01:00 committed by GitHub
parent 8494965434
commit bf06e94f5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'hive': patch
---
Adds ability to all services to write a heap dump to a disk when SIGUSR1 signal is received

View file

@ -1,3 +1,3 @@
#!/bin/sh
echo "Release: $RELEASE"
node index.js
node --heapsnapshot-signal=SIGUSR1 index.js