0

I need to change threadsAllowedToBlockForConnectionMultiplier and connectionsPerHost values in mongodb from their default value through mongo shell instead of a program. How can I go about it?

Community
  • 1
  • 1
Siddharth
  • 2,046
  • 5
  • 26
  • 41

1 Answers1

1

These are settings for the Java driver. You can't set them through the mongo shell because they are properties of the Java client and not the mongo shell or the server itself.

wdberkeley
  • 11,531
  • 1
  • 28
  • 23
  • I also realised it. The solution which I finally found was related to modification in java driver. Thanks for your information. – Siddharth Oct 17 '14 at 15:35