Skip to main content

resume_worker

Function resume_worker 

Source
pub async fn resume_worker(
    __arg0: State<ApiState>,
    __arg1: Path<String>,
    __arg2: Extension<User>,
    key: RequestKey,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Let a drained worker take tasks again (schedr workers resume). Applied by the master; poll the command for the decision.