A pool's settings. acquire runs with the services in scope when
the pool was made; target_utilization is clamped to [0.1, 1].
Attributes#
| Attribute | Type | Description |
|---|---|---|
acquire | Effect[A, E, Any] | |
concurrency | int | |
is_fixed | bool | |
min_size | int | |
max_size | int | |
strategy | Strategy[A, E] | |
target_utilization | float |
Functions#
__init__#
__init__(acquire, concurrency, is_fixed, min_size, max_size, strategy, target_utilization) -> None| Parameter | Type | Description |
|---|---|---|
acquire | Effect[A, E, Any] | |
concurrency | int | |
is_fixed | bool | |
min_size | int | |
max_size | int | |
strategy | Strategy[A, E] | |
target_utilization | float |