fix: aggs cache ratio reporting (#8984)

Signed-off-by: loaki07 <rustyloaki@gmail.com>
This commit is contained in:
Loakesh Indiran
2025-11-06 22:07:59 +05:30
committed by GitHub
parent f7c9f6eb81
commit c7ee02a9f1
2 changed files with 4 additions and 8 deletions
+3 -6
View File
@@ -30,12 +30,9 @@ impl QueryCache for QueryCacheServerImpl {
request: Request<DeleteResultCacheRequest>,
) -> Result<Response<DeleteResultCacheResponse>, Status> {
let req: DeleteResultCacheRequest = request.into_inner();
let deleted = cacher::delete_cache(
&req.path, req.ts, None, // TODO: fix proper param
None, // TODO: fix proper param
)
.await
.is_ok();
let deleted = cacher::delete_cache(&req.path, req.ts, None, None)
.await
.is_ok();
Ok(Response::new(DeleteResultCacheResponse { deleted }))
}