We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述: 在并发量高的情况下,会报如下错误 create service failed {"error": "timed out while checking out a connection from connection pool}
问题原因: 原因是go mongo driver的默认最大连接数量为100
解决方法: 新增配置项registry.mongo.cluster.poolSize,把该参数设置为可以配置的,默认设置为1000
The text was updated successfully, but these errors were encountered:
fixbugs: mongo connection pool is full(apache#1052)
defb165
b955bbb
d95f631
b88a697
Merge pull request #1053 from fuziye01/master
405081d
fixbugs: mongo connection pool is full (#1052)
No branches or pull requests
问题描述:
在并发量高的情况下,会报如下错误
create service failed {"error": "timed out while checking out a connection from connection pool}
问题原因:
原因是go mongo driver的默认最大连接数量为100
解决方法:
新增配置项registry.mongo.cluster.poolSize,把该参数设置为可以配置的,默认设置为1000
The text was updated successfully, but these errors were encountered: