pool_restart
Restart execution pool.
def pool_restart(
state: object,
modules: list,
reload: boolean = False,
reloader: object = null,
**kwargs: dict
) - > string
Restart execution pool.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current application state containing configuration and consumer controller references |
| modules | list | A list of specific module names to be reloaded during the pool restart |
| reload | boolean = False | Flag to determine if modules should be reloaded from their source files |
| reloader | object = null | The specific reloader instance or strategy to use for the restart operation |
| **kwargs | dict | Additional keyword arguments passed to the pool restart command |
Returns
| Type | Description |
|---|---|
string | A success message indicating that the reload process has been initiated |