vibe.d beta banner
get vibe.d
0.10.1

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

Function ConnectionPool.maxConcurrency

Determines the maximum number of concurrently open connections.

void maxConcurrency (
  uint max_concurrent
) @property;

uint maxConcurrency() nothrow @property;

Attempting to lock more connections that this number will cause the calling fiber to be blocked until one of the locked connections becomes available for reuse.

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.