Skip to content

Commit

Permalink
per comments: add comment about limit
Browse files Browse the repository at this point in the history
  • Loading branch information
rolyatmax committed Jun 27, 2024
1 parent 9308dec commit 6cef8bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plane/src/database/drone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ impl<'a> DroneDatabase<'a> {
Ok(result.pool.into())
}

/// Returns a list of drones that are ready and have been seen in the last `seen_in_last` duration.
/// Limits the number of drones returned to 100.
pub async fn get_drones_for_pool(
&self,
cluster: &ClusterName,
Expand Down

0 comments on commit 6cef8bd

Please sign in to comment.