Skip to content

Commit

Permalink
Update src/datanode/src/region_server.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Yingwen <[email protected]>
  • Loading branch information
lyang24 and evenyag authored Sep 24, 2024
1 parent 382085b commit 049e876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datanode/src/region_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl RegionServer {

#[tracing::instrument(skip_all)]
pub async fn handle_read(&self, request: QueryRequest) -> Result<SendableRecordBatchStream> {
let permit = if let Some(p) = &self.inner.parallelism {
let _permit = if let Some(p) = &self.inner.parallelism {
Some(p.acquire().await?)
} else {
None
Expand Down

0 comments on commit 049e876

Please sign in to comment.