Skip to content

Commit 668bdc0

Browse files
committed
Remove commented out codes
1 parent f481300 commit 668bdc0

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/future/base_cache.rs

-8
Original file line numberDiff line numberDiff line change
@@ -863,14 +863,6 @@ where
863863
}
864864
}
865865

866-
// pub(crate) async fn set_expiration_clock(&self, clock: Option<Clock>) {
867-
// self.inner.set_expiration_clock(clock).await;
868-
// if let Some(hk) = &self.housekeeper {
869-
// let now = self.current_time_from_expiration_clock();
870-
// hk.reset_run_after(now);
871-
// }
872-
// }
873-
874866
pub(crate) fn key_locks_map_is_empty(&self) -> bool {
875867
self.inner.key_locks_map_is_empty()
876868
}

src/future/cache.rs

-4
Original file line numberDiff line numberDiff line change
@@ -2079,10 +2079,6 @@ where
20792079
self.base.reconfigure_for_testing().await;
20802080
}
20812081

2082-
// async fn set_expiration_clock(&self, clock: Option<crate::common::time::Clock>) {
2083-
// self.base.set_expiration_clock(clock).await;
2084-
// }
2085-
20862082
fn key_locks_map_is_empty(&self) -> bool {
20872083
self.base.key_locks_map_is_empty()
20882084
}

0 commit comments

Comments
 (0)