Open
Conversation
Owner
|
我不认为这个接口有必要。如果真的有需要,可以在 socket 模块上自己额外套一层,监控所有 api 调用。 |
Contributor
Author
|
有时候会有漏关闭的情况,提供一个接口可以方便查看当前有哪些还没关的套接字
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2025年2月11日(星期二) 晚上6:29
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [cloudwu/skynet] 增加获取socket_pool中所有id接口 (PR #2031)
我不认为这个接口有必要。如果真的有需要,可以在 socket 模块上自己额外套一层,监控所有 api 调用。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Owner
服务退出时会全部关闭: https://github.com/cloudwu/skynet/blob/master/lualib/skynet/socket.lua#L12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.