sdlfkj dlsfj
sdlfkj dlsfj

Reputation: 51

Change the connection pool with the console

I'm using MongoDB in a Java project, and I have this question for you :

How could I change the connection pool with the console for mongodb ?

Upvotes: 1

Views: 101

Answers (1)

Mark Hillick
Mark Hillick

Reputation: 6973

I answered this on the MongoDB Google Group and I'll re-quote here:

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.

Upvotes: 2

Related Questions