MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / get_min_size

Method get_min_size

asyncpg/pool.py:492–497  ·  view source on GitHub ↗

Return the minimum number of connections in this pool. .. versionadded:: 0.25.0

(self)

Source from the content-addressed store, hash-verified

490 return sum(h.is_connected() for h in self._holders)
491
492 def get_min_size(self):
493 """Return the minimum number of connections in this pool.
494
495 .. versionadded:: 0.25.0
496 """
497 return self._minsize
498
499 def get_max_size(self):
500 """Return the maximum allowed number of connections in this pool.

Callers 1

Calls

no outgoing calls

Tested by 1