Skip to content

Commit bf06e94

Browse files
authored
Write a heap dump to a disk when SIGUSR1 signal is received (#6571)
1 parent 8494965 commit bf06e94

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/honest-apples-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'hive': patch
3+
---
4+
5+
Adds ability to all services to write a heap dump to a disk when SIGUSR1 signal is received

docker/shared/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22
echo "Release: $RELEASE"
3-
node index.js
3+
node --heapsnapshot-signal=SIGUSR1 index.js

0 commit comments

Comments
 (0)