Skip to content

Commit

Permalink
fix(debug): Added option to generate process specific heap snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Sep 28, 2023
1 parent 82ad1f3 commit 70aa8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ process.on('SIGPIPE', () => {
if (stream) {
const path = Path.join(
os.tmpdir(),
`Heap-${new Date()
`Heap-${process.pid}-${new Date()
.toISOString()
.substring(0, 19)
.replace(/[^0-9T]+/g, '')}.heapsnapshot`
Expand Down

0 comments on commit 70aa8b3

Please sign in to comment.