vibe.d beta banner
get vibe.d

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.


Sönke Ludwig


© 2012-2016 Sönke Ludwig


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