Skip to main content

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

NameTypeDescription
stateobjectThe current application state containing configuration and consumer controller references
moduleslistA list of specific module names to be reloaded during the pool restart
reloadboolean = FalseFlag to determine if modules should be reloaded from their source files
reloaderobject = nullThe specific reloader instance or strategy to use for the restart operation
**kwargsdictAdditional keyword arguments passed to the pool restart command

Returns

TypeDescription
stringA success message indicating that the reload process has been initiated