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

Method get_max_size

asyncpg/pool.py:499–504  ·  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

497 return self._minsize
498
499 def get_max_size(self):
500 """Return the maximum allowed number of connections in this pool.
501
502 .. versionadded:: 0.25.0
503 """
504 return self._maxsize
505
506 def get_idle_size(self):
507 """Return the current number of idle connections in this pool.

Calls

no outgoing calls