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

When debugging requests, do not dump the body of the request. #638

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

jpalermo
Copy link
Member

We had a report and stack trace that showed the cli running out of memory when the request body is dumped while uploading a stemcell.

While it would be good to keep this behavior for non-binary request bodies, our tests showed that those don't get printed out anyway. So just changing the true to a false in the hopes that it resolves the OOM issue.

We had a report and stack trace that showed the cli running out of memory when
the request body is dumped while uploading a stemcell.

While it would be good to keep this behavior for non-binary request bodies, our tests
showed that those don't get printed out anyway. So just changing the true to a false
in the hopes that it resolves the OOM issue.

Signed-off-by: Joseph Palermo <jpalermo@pivotal.io>
@cunnie cunnie self-requested a review December 12, 2023 00:09
Copy link
Member

@cunnie cunnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jpalermo jpalermo merged commit 3084288 into main Dec 12, 2023
5 checks passed
@jpalermo jpalermo deleted the pr-do-not-dump-request-body branch December 12, 2023 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants