From 668bdc01e1e143c2f111e99826bf1dd862dc920f Mon Sep 17 00:00:00 2001 From: Tatsuya Kawano Date: Sun, 5 Jan 2025 15:08:30 +0800 Subject: [PATCH] Remove commented out codes --- src/future/base_cache.rs | 8 -------- src/future/cache.rs | 4 ---- 2 files changed, 12 deletions(-) diff --git a/src/future/base_cache.rs b/src/future/base_cache.rs index 8154505a..cbec1bb1 100644 --- a/src/future/base_cache.rs +++ b/src/future/base_cache.rs @@ -863,14 +863,6 @@ where } } - // pub(crate) async fn set_expiration_clock(&self, clock: Option) { - // self.inner.set_expiration_clock(clock).await; - // if let Some(hk) = &self.housekeeper { - // let now = self.current_time_from_expiration_clock(); - // hk.reset_run_after(now); - // } - // } - pub(crate) fn key_locks_map_is_empty(&self) -> bool { self.inner.key_locks_map_is_empty() } diff --git a/src/future/cache.rs b/src/future/cache.rs index 77474a99..32325e93 100644 --- a/src/future/cache.rs +++ b/src/future/cache.rs @@ -2079,10 +2079,6 @@ where self.base.reconfigure_for_testing().await; } - // async fn set_expiration_clock(&self, clock: Option) { - // self.base.set_expiration_clock(clock).await; - // } - fn key_locks_map_is_empty(&self) -> bool { self.base.key_locks_map_is_empty() }