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

router 服务需要等待长链接请求都处理完再被终止 #2

Open
web3nomad opened this issue Sep 8, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@web3nomad
Copy link
Member

router 和 webui 实例之间建立了一个长连接,服务如果重启,需要等 router 把请求处理完以后再终止。

解决方案是:POD 在收到终止信号以后,过 3 分钟以后再停止,可以修改编排文件的 terminationGracePeriodSeconds

@web3nomad web3nomad added the bug Something isn't working label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant