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

目前连接的数量我们在配置里有办法限制吗 #52

Closed
maning711 opened this issue Jun 19, 2019 · 2 comments
Closed

目前连接的数量我们在配置里有办法限制吗 #52

maning711 opened this issue Jun 19, 2019 · 2 comments

Comments

@maning711
Copy link

目前连接的数量我们在配置里有办法限制吗,另外如果没有配置直接限制的话,我们做服务治理就没法做了哈~

@YeautyYE
Copy link
Owner

如果需要严格限制的话,可以直接使用AtomicInteger类对连接数进行统计,当超过限制时关闭连接

@maning711
Copy link
Author

OK了解

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

2 participants