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

Skip automatic context-propagation in Flux.generate #3848

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

chemicL
Copy link
Member

@chemicL chemicL commented Jul 16, 2024

As Flux.generate uses SynchronousSink, which should not be used asynchronously, we can eliminate the unnecessary ThreadLocal restoration from this operator.

Related to #3840.

@chemicL chemicL added type/enhancement A general enhancement area/performance This belongs to the performance theme area/context This issue is related to the Context area/observability labels Jul 16, 2024
@chemicL chemicL added this to the 3.6.9 milestone Jul 16, 2024
@chemicL chemicL self-assigned this Jul 16, 2024
@chemicL chemicL requested a review from a team as a code owner July 16, 2024 14:17
@chemicL
Copy link
Member Author

chemicL commented Jul 17, 2024

Thanks for the review @violetagg :)

@chemicL chemicL merged commit eaa889e into 3.6.x Jul 17, 2024
8 checks passed
@chemicL chemicL deleted the skip-auto-cp-in-generate branch July 17, 2024 07:52
chemicL added a commit that referenced this pull request Jul 17, 2024
@chemicL chemicL mentioned this pull request Jul 25, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/context This issue is related to the Context area/observability area/performance This belongs to the performance theme type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants