Skip to content

Commit 80a7b99

Browse files
authored
Update mod.rs
1 parent ef999dd commit 80a7b99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gc/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ pub trait GarbageCollection {
127127
///
128128
/// Panics if the threshold is negative.
129129
///
130+
/// Values above 1.0 will be treated as 1.0.
130131
/// If you want to drop only fully stale segments, use [`GarbageCollector::drop_stale_segments`] instead.
131132
fn gc_with_staleness_threshold(&self, threshold: f32) -> crate::Result<u64>;
132133

0 commit comments

Comments
 (0)