-
Notifications
You must be signed in to change notification settings - Fork 10
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
有关于优雅停机的示例吗 #23
Comments
可以参考这段代码,每次服务端新接受到socket连接时,我们都会利用管道维护状态信息,利用broadcast管道监听停机信号,然后利用mpsc管道,维护当前运行中的tcp连接。包括再停机时,也会先向注册中心进行服务注销,然后延迟关闭 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在哪里实现了相关代码该怎么使用?谢谢解答。
The text was updated successfully, but these errors were encountered: