We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef999dd commit 80a7b99Copy full SHA for 80a7b99
src/gc/mod.rs
@@ -127,6 +127,7 @@ pub trait GarbageCollection {
127
///
128
/// Panics if the threshold is negative.
129
130
+ /// Values above 1.0 will be treated as 1.0.
131
/// If you want to drop only fully stale segments, use [`GarbageCollector::drop_stale_segments`] instead.
132
fn gc_with_staleness_threshold(&self, threshold: f32) -> crate::Result<u64>;
133
0 commit comments