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

optimize: send async response #6534

Open
wants to merge 5 commits into
base: 2.x
Choose a base branch
from

Conversation

YeonCheolGit
Copy link
Contributor

Ⅰ. Describe what this PR did

Optimize code and error message for clarity.

Ⅱ. Does this pull request fix one issue?

Split RuntimeException from if-else to if statement using return early pattern for clarify.
Changed error message for clarity and leave channel name which is not available connected.
Changed if statement for checking whether message is instance of HeartbeatMessage or not to ternary conditional operator for clarity and immutable variable.
@YeonCheolGit
Copy link
Contributor Author

YeonCheolGit commented May 12, 2024

cc. @funky-eyes @slievrly @xingfudeshi

@YeonCheolGit YeonCheolGit changed the title 2.x refactor send async response Optimize send async response May 12, 2024
@YeonCheolGit YeonCheolGit changed the title Optimize send async response optimize: send async response May 12, 2024
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

@YeonCheolGit
Copy link
Contributor Author

YeonCheolGit commented May 15, 2024

LGTM

Thanks for the review 🙇🏼

If there are any issues that i could help with just let me know anytime.
I am currently working full time job, so maybe solving issue not so fast but i could help and contriubte somthing this project

Thanks 😄

@YeonCheolGit
Copy link
Contributor Author

YeonCheolGit commented May 17, 2024

Is there any issue to merge it??

cc. @funky-eyes @slievrly @xingfudeshi

@funky-eyes
Copy link
Contributor

我将在2.2版本上合并这个pr,当前2.1版本的里程碑已经完成接近于发版,暂时不进行合并pr
I will merge this pr on version 2.2. The milestone of the current version 2.1 has been completed and is close to the release. I will not merge pr for the time being.

@YeonCheolGit
Copy link
Contributor Author

我将在2.2版本上合并这个pr,当前2.1版本的里程碑已经完成接近于发版,暂时不进行合并pr I will merge this pr on version 2.2. The milestone of the current version 2.1 has been completed and is close to the release. I will not merge pr for the time being.

I understand it. Thank you for the kind description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants