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

Minor Processor usage cleanup #2115

Merged
merged 6 commits into from
Mar 1, 2022
Merged

Conversation

Scottmitch
Copy link
Member

Modifications:

  • DefaultSingleAddressHttpClientBuilder$SdStatusCompletable to
    avoid creating multiple Processors when an error occurs.
    The Processor will ensure the underlying data structure doesn't
    leak memory.
  • LoadBalancerReadySubscriber to retain the Processor reference
    in a terminal state. Subsequent subscribers will therefore see
    the correct terminal state.

Modifications:
- DefaultSingleAddressHttpClientBuilder$SdStatusCompletable to
  avoid creating multiple Processors when an error occurs.
  The Processor will ensure the underlying data structure doesn't
  leak memory.
- LoadBalancerReadySubscriber to retain the Processor reference
  in a terminal state. Subsequent subscribers will therefore see
  the correct terminal state.
Copy link
Member

@idelpivnitskiy idelpivnitskiy left a comment

Choose a reason for hiding this comment

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

Thank you!

@Scottmitch Scottmitch merged commit cf0a8b8 into apple:main Mar 1, 2022
@Scottmitch Scottmitch deleted the processor_cleanup branch March 1, 2022 01:41
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.

3 participants