我在Java项目中使用MongoDB,我有这个问题:
如何使用mongodb的控制台更改连接池?
答案 0 :(得分:2)
我在MongoDB Google Group上回答了这个问题,我将在此重新引用:
You can control how many connections there are with the [MongoOptions class][1]:
The connection pool is controlled in the driver configuration, not through the mongo shell.