MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / get_min_size

Method get_min_size

asyncpg/pool.py:605–614  ·  view source on GitHub ↗

Return the minimum number of connections in this pool. .. versionadded:: 0.25.0 .. versionchanged:: 0.32.0 The parameter now controls the connection floor rather than the initial pool size (see ``init_size``).

(self)

Source from the content-addressed store, hash-verified

603 return self._initsize
604
605 def get_min_size(self):
606 """Return the minimum number of connections in this pool.
607
608 .. versionadded:: 0.25.0
609
610 .. versionchanged:: 0.32.0
611 The parameter now controls the connection floor rather than the
612 initial pool size (see ``init_size``).
613 """
614 return self._minsize
615
616 def get_max_size(self):
617 """Return the maximum allowed number of connections in this pool.

Calls

no outgoing calls