pool_grow
Grow pool by n processes/threads.
def pool_grow(
state: object,
n: integer = 1
) - > object
Grow pool by n processes/threads.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current application state containing the consumer and pool controller instances. |
| n | integer = 1 | The number of worker processes or threads to add to the current execution pool. |
Returns
| Type | Description |
|---|---|
object | A success message if the pool was grown, or an error message if the operation is unsupported due to autoscaling being enabled. |