mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Write a heap dump to a disk when SIGUSR1 signal is received (#6571)
This commit is contained in:
parent
8494965434
commit
bf06e94f5f
2 changed files with 6 additions and 1 deletions
5
.changeset/honest-apples-tap.md
Normal file
5
.changeset/honest-apples-tap.md
Normal 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
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
echo "Release: $RELEASE"
|
||||
node index.js
|
||||
node --heapsnapshot-signal=SIGUSR1 index.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue