clear_tasks_handlers
Reset the connection handler whenever the settings change.
def clear_tasks_handlers(
setting: string,
kwargs: dict
) - > null
Reset the connection handler whenever the settings change.
Parameters
| Name | Type | Description |
|---|---|---|
| setting | string | The name of the Django setting that was modified, used to trigger the reset only when the 'TASKS' configuration changes. |
| kwargs | dict | Additional keyword arguments passed by the setting_changed signal receiver. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; this function performs an in-place reset of the task backend state. |