Skip to content

使用ctx.Done代替isClose#279

Open
wztzt wants to merge 2 commits into
aceld:masterfrom
wztzt:master
Open

使用ctx.Done代替isClose#279
wztzt wants to merge 2 commits into
aceld:masterfrom
wztzt:master

Conversation

@wztzt

@wztzt wztzt commented Sep 7, 2023

Copy link
Copy Markdown

1.可以减少锁的使用
2.可以避免消息量大时消息包被丢弃

减少不必要的成员变量。

1.可以减少锁的使用
2.可以避免消息量大时消息包被丢弃
@aceld

aceld commented Sep 13, 2023

Copy link
Copy Markdown
Owner

@wztzt 感谢提交PR。

@aceld

aceld commented Sep 13, 2023

Copy link
Copy Markdown
Owner

期待您回复,感谢提交PR

@wztzt

wztzt commented Sep 13, 2023

Copy link
Copy Markdown
Author

@aceld 谢谢🙏

@GStones GStones left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

提了点小小的意见,望采纳

Comment thread znet/ws_connection.go
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