Mongo连接池(更改连接池的大小) [英] Mongo Connection Pooling(Changing the size of connection pool)
本文介绍了Mongo连接池(更改连接池的大小)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改mongo连接池大小?
How to change the mongo connection pool size?
我已经看到默认情况下它是100.有没有办法更改此值?
I have seen it is 100 by default. Is there a way to change this value?
我不想通过spring进行操作,是否可以通过MongoClient对其进行配置?
I dont want to do it via spring, is there a way to configure it via MongoClient?
我看到一个关于mongoClientOptions的选项,但是我没有看到用于设置连接池的选项
There is an option i see about mongoClientOptions but i dont see options to set connection pool
推荐答案
您可以使用 查看全文