mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
fix: aggs cache ratio reporting (#8984)
Signed-off-by: loaki07 <rustyloaki@gmail.com>
This commit is contained in:
@@ -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 }))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user