Skip to content

Commit

Permalink
Cargo fmt (#5238)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton authored Jul 19, 2024
1 parent feb0fe7 commit 8e6dc17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickwit/quickwit-search/src/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8e6dc17

Please sign in to comment.