Skip to main content

retry_task

Function retry_task 

Source
pub async fn retry_task(
    __arg0: State<ApiState>,
    __arg1: Path<(String, String)>,
    query: Result<Query<InstanceQuery>, QueryRejection>,
    __arg3: Extension<User>,
    key: RequestKey,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Retry an unschedulable task of an unfinished run (schedr tasks retry). Applied by the master; poll the command for the decision.