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

grpc-js: Discard buffer tracker entry when RetryingCall ends #2306

Conversation

murgatroid99
Copy link
Member

This fixes #2301. Currently the buffer tracker entry is retained after the call ends, so the number of entries grows without bound as calls are made. This fixes that by freeing up that entry when a call ends. The function call added here already has the desired behavior on this line. I also discard the buffer entries at the same time to maintain consistency between the buffer tracker and the actual buffer.

@murgatroid99 murgatroid99 merged commit 7f5cb7d into grpc:@grpc/grpc-js@1.8.x Jan 3, 2023
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.

None yet

2 participants