From 46b94c136254706fcf3fdf438ecb35e50460d799 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Thu, 16 Mar 2023 13:40:28 -0400 Subject: [PATCH] refactor: Rename module and file to just timeout --- compactor2/src/components/mod.rs | 2 +- .../src/components/{timeout_with_progress.rs => timeout.rs} | 0 compactor2/src/driver.rs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename compactor2/src/components/{timeout_with_progress.rs => timeout.rs} (100%) diff --git a/compactor2/src/components/mod.rs b/compactor2/src/components/mod.rs index fffd611cd3..675193bb0d 100644 --- a/compactor2/src/components/mod.rs +++ b/compactor2/src/components/mod.rs @@ -37,7 +37,7 @@ pub mod scratchpad; pub mod skipped_compactions_source; pub mod split_or_compact; pub mod tables_source; -pub mod timeout_with_progress; +pub mod timeout; /// Pluggable system to determine compactor behavior. Please see /// [Crate Level Documentation](crate) for more details on the diff --git a/compactor2/src/components/timeout_with_progress.rs b/compactor2/src/components/timeout.rs similarity index 100% rename from compactor2/src/components/timeout_with_progress.rs rename to compactor2/src/components/timeout.rs diff --git a/compactor2/src/driver.rs b/compactor2/src/driver.rs index 8c41511cb5..dbb65a2453 100644 --- a/compactor2/src/driver.rs +++ b/compactor2/src/driver.rs @@ -10,7 +10,7 @@ use tracker::InstrumentedAsyncSemaphore; use crate::{ components::{ scratchpad::Scratchpad, - timeout_with_progress::{timeout_with_progress_checking, TimeoutWithProgress}, + timeout::{timeout_with_progress_checking, TimeoutWithProgress}, Components, }, error::{DynError, ErrorKind, SimpleError},