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

Method get_max_size

asyncpg/pool.py:616–621  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

614 return self._minsize
615
616 def get_max_size(self):
617 """Return the maximum allowed number of connections in this pool.
618
619 .. versionadded:: 0.25.0
620 """
621 return self._maxsize
622
623 def get_idle_size(self):
624 """Return the current number of idle connections in this pool.

Calls

no outgoing calls