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

Method get_init_size

asyncpg/pool.py:598–603  ·  view source on GitHub ↗

Return the initial number of connections in this pool. .. versionadded:: 0.32.0

(self)

Source from the content-addressed store, hash-verified

596 return sum(h.is_connected() for h in self._holders)
597
598 def get_init_size(self):
599 """Return the initial number of connections in this pool.
600
601 .. versionadded:: 0.32.0
602 """
603 return self._initsize
604
605 def get_min_size(self):
606 """Return the minimum number of connections in this pool.

Calls

no outgoing calls