We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b061a3 commit cdfcdb2Copy full SHA for cdfcdb2
1 file changed
src/tonic/api/points_internal_api.rs
@@ -375,7 +375,9 @@ pub async fn query_batch_internal(
375
})
376
.collect(),
377
time: timing.elapsed().as_secs_f64(),
378
- usage: request_hw_data.to_grpc_api(),
+ usage: Option::from(Usage {
379
+ hardware: request_hw_data.to_grpc_api(),
380
+ }),
381
};
382
383
Ok(Response::new(response))
@@ -423,7 +425,9 @@ async fn facet_counts_internal(
423
425
let response = FacetResponseInternal {
424
426
hits: hits.into_iter().map(From::from).collect_vec(),
427
428
429
430
431
432
433
0 commit comments