Function ctrl_garbage_collect

Source
pub async fn ctrl_garbage_collect(
    cfg: &ApisixConfig,
) -> Result<(), ApisixClientError>
Expand description

Triggers a full garbage collection in the HTTP subsystem. Note: When stream proxy is enabled, APISIX runs another Lua VM for the stream subsystem. Full garbage collection is not triggered in this VM.