The pool behind reserve: at most max_connections (default
10), at least min_connections kept open (default 0), one idle for
idle_timeout closed (default 60 seconds), and acquire_timeout
to wait for a free one before failing (default: no limit).
Attributes#
| Attribute | Type | Description |
|---|---|---|
max_connections | int = 10 | |
min_connections | int = 0 | |
idle_timeout | DurationInput = '60 seconds' | |
acquire_timeout | DurationInput | None = None |
Functions#
__init__#
__init__(*, max_connections=10, min_connections=0, idle_timeout='60 seconds', acquire_timeout=None) -> None| Parameter | Type | Description |
|---|---|---|
max_connections | int = 10 | |
min_connections | int = 0 | |
idle_timeout | DurationInput = '60 seconds' | |
acquire_timeout | DurationInput | None = None |