This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: periodically reset v8 session to prevent memory leak (#957)
* fix: periodically reset v8 session to prevent memory leak This patch makes the cloud debugger reset the v8 debugger session to prevent the memory leak caused by v8 breakpoint hits whenenever the number of breakpoint hits reach the threshold. The threshold can be set through environment variable. Fixes #811 * fix: lint issue, remove reading from env about reset threshold * fix: run lint on all the files * fix: update comments for default value Co-authored-by: Benjamin E. Coe <bencoe@google.com>
- Loading branch information
Showing
4 changed files
with
176 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters