apisix_admin_client

Function ctrl_garbage_collect

source
pub async fn ctrl_garbage_collect(cfg: &ApisixConfig) -> Result<()>
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.