Skip to main content

test_connection

Function test_connection 

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

Open a connection on a worker and run its check (schedr connections test, decisions 198-200), beside the tasks. The command’s result fills in when the worker answers.