Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zealchen committed Feb 27, 2025
1 parent 4f1af0c commit 6905d88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/metric_engine/src/metric/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,11 @@ impl Inner {
});
}

/// Batching the tasks from the receiver
///
/// # Cancel safety
///
/// This method is cancellation safe.
async fn batching(
batch_tasks: &mut Vec<Task>,
receiver: &mut Receiver<Task>,
Expand Down

0 comments on commit 6905d88

Please sign in to comment.