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

是否需要每个请求结束之后都close NSQ链接? #75

Open
fifsky opened this issue Jul 24, 2024 · 0 comments
Open

是否需要每个请求结束之后都close NSQ链接? #75

fifsky opened this issue Jul 24, 2024 · 0 comments

Comments

@fifsky
Copy link

fifsky commented Jul 24, 2024

由于PHP的特性,每个请求都会connectNsqd,请问此时是扩展接管TCP连接池还是每次都会重新创建一个TCP链接,所以每次请求结束,都需要在__destrct函数中close NSQ链接避免NSQ连接数爆掉?

扩展在publish的时候属于那种情况?希望能帮忙解答,谢谢!

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

No branches or pull requests

1 participant