Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable capturing network activity log #113

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

andusy
Copy link
Collaborator

@andusy andusy commented Oct 8, 2024

Add TransparentProxyServiceOpts struct to disable network activity logging in order to avoid unbounded memory usage.

Leave the NetworkLog uninitialized and add a function LogActivity to start logging. This avoids the possibility of an unnecessary unbounded memory growth for large builds.
@msuozzo msuozzo changed the title Do not record activity by default in the network proxy Do not record network proxy activity on creation Oct 8, 2024
@andusy andusy changed the title Do not record network proxy activity on creation Add TransparentProxyServiceOpts struct Oct 9, 2024
@msuozzo msuozzo changed the title Add TransparentProxyServiceOpts struct Add option to disable capturing network activity log Oct 10, 2024
@msuozzo msuozzo merged commit 334c034 into google:main Oct 10, 2024
3 checks passed
@andusy andusy deleted the activityLog branch October 10, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants