Skip to main content

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

NameTypeDescription
settingstringThe name of the Django setting that was modified, used to trigger the reset only when the 'TASKS' configuration changes.
kwargsdictAdditional keyword arguments passed by the setting_changed signal receiver.

Returns

TypeDescription
nullNothing is returned; this function performs an in-place reset of the task backend state.