1
As the title states, I am trying to find the value of the maxPoolSize property of my MongoDB client object to confirm that the value I put in is being used… From the documentation I see that by default the maxPoolSize is 100
but I am passing my own value for maxPoolSize. Printing the client
object does not show the value.
I understand that I could use lsof -i tcp:27017
to check connections but I would like to confirm with just a property value if possible
MongoClient.connect(this.url, this.options, (err, client) => {
console.log(client); // trying to find the value of maxPoolSize here
})
Is there somewhere where I could check or confirm the value of maxPoolSize in my client instance?