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

Remove redundant Operators.serialize in MonoTimeout#subscribeOrReturn #3470

Merged
merged 1 commit into from
May 24, 2023

Conversation

manzhizhen
Copy link
Contributor

When I debug the code, I find a small problem, the operation of the MonoTimeout#subscribeOrReturn class causes the CoreSubscriber to be serialized twice, which I think can be optimized has.

So I PR the removes the Operators.serialize operation in MonoTimeout#subscribeOrReturn that is unnecessary for CoreSubscriber, because FluxTimeout. TimeoutMainSubscriber has carries on the Operators. Serialize operation

…eturn that is unnecessary for CoreSubscriber, because FluxTimeout.TimeoutMainSubscriber has carries on the Operators.serialize operation
@manzhizhen manzhizhen requested a review from a team as a code owner May 23, 2023 11:19
@chemicL chemicL changed the title Used to replace #3469 Remove redundant Operators.serialize in MonoTimeout#subscribeOrReturn May 23, 2023
@chemicL chemicL added the type/enhancement A general enhancement label May 23, 2023
@chemicL chemicL added this to the 3.4.30 milestone May 23, 2023
@chemicL chemicL merged commit 6cd5d90 into reactor:3.4.x May 24, 2023
6 checks passed
@reactorbot
Copy link

@chemicL this PR seems to have been merged on a maintenance branch, please ensure the change is merge-forwarded to intermediate maintenance branches and up to main 🙇

chemicL added a commit that referenced this pull request May 24, 2023
@chemicL
Copy link
Member

chemicL commented May 24, 2023

@manzhizhen thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants