Skip to content

Allow restarting a single task in RQ

Follow-up of !2227 (merged)

The RQ task must support restarting a single task (super admin action from the frontend).

The idea here is to call arkindex.ponos.tasks.run_task_rq.delay in TaskUpdate API view, and disable it in case PONOS_RQ_EXECUTION is set to false in the settings.