vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Variable MongoClientSettings.maxConnections

Amount of maximum simultaneous connections to have open at the same time.

class MongoClientSettings
{
  // ...
  uint maxConnections = 4294967295u;
  // ...
}

Every MongoDB call may allocate a new connection if no previous ones are available and there is no connection associated with the calling Fiber.

Authors

Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.