Skip to main content

check_connections

Function check_connections 

Source
pub async fn check_connections(
    __arg0: State<ApiState>,
    __arg1: Extension<User>,
    key: RequestKey,
    body: Bytes,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Render connections on a worker (schedr connections check, decision 174): each secret they name present or missing, never a value. The command’s result fills in as the workers answer: poll it until no job is running.