From 8e6dc179c6abc3f105e84637a07d159aa6470a36 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Fri, 19 Jul 2024 15:18:22 +0900 Subject: [PATCH] Cargo fmt (#5238) --- quickwit/quickwit-search/src/root.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickwit/quickwit-search/src/root.rs b/quickwit/quickwit-search/src/root.rs index 2c8cfcc20a6..73472ce2631 100644 --- a/quickwit/quickwit-search/src/root.rs +++ b/quickwit/quickwit-search/src/root.rs @@ -69,9 +69,9 @@ fn max_scroll_ttl() -> Duration { *MAX_SCROLL_TTL_LOCK.get_or_init(|| { let split_deletion_grace_period = shared_consts::split_deletion_grace_period(); assert!( - split_deletion_grace_period - >= shared_consts::MINIMUM_DELETION_GRACE_PERIOD, - "The split deletion grace period is too short ({split_deletion_grace_period:?}). This should not happen." + split_deletion_grace_period >= shared_consts::MINIMUM_DELETION_GRACE_PERIOD, + "The split deletion grace period is too short ({split_deletion_grace_period:?}). This \ + should not happen." ); // We remove an extra margin of 2minutes from the split deletion grace period. split_deletion_grace_period - Duration::from_secs(60 * 2)