Skip to content

Commit

Permalink
bthreads: add resourceLimits to inspection.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Dec 23, 2019
1 parent b3efa60 commit 4d1c32c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/browser/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ class Worker extends EventEmitter {
threadId: this.threadId,
stdin: this.stdin,
stdout: this.stdout,
stderr: this.stderr
stderr: this.stderr,
resourceLimits: this.resourceLimits
});
}
}
Expand Down
3 changes: 2 additions & 1 deletion lib/process/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,8 @@ class Worker extends EventEmitter {
threadId: this.threadId,
stdin: this.stdin,
stdout: this.stdout,
stderr: this.stderr
stderr: this.stderr,
resourceLimits: this.resourceLimits
});
}
}
Expand Down

0 comments on commit 4d1c32c

Please sign in to comment.