Skip to content

Skip automatic context-propagation in Flux.generate#3848

Merged
chemicL merged 1 commit into3.6.xfrom
skip-auto-cp-in-generate
Jul 17, 2024
Merged

Skip automatic context-propagation in Flux.generate#3848
chemicL merged 1 commit into3.6.xfrom
skip-auto-cp-in-generate

Conversation

@chemicL
Copy link
Copy Markdown
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
Copy Markdown
Member Author

chemicL commented Jul 17, 2024

Thanks for the review @violetagg :)

@chemicL chemicL merged commit eaa889e into 3.6.x Jul 17, 2024
@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