Skip to content

Commit

Permalink
Remove commented out codes
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuya6502 committed Jan 5, 2025
1 parent f481300 commit 668bdc0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions src/future/base_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -863,14 +863,6 @@ where
}
}

// pub(crate) async fn set_expiration_clock(&self, clock: Option<Clock>) {
// 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()
}
Expand Down
4 changes: 0 additions & 4 deletions src/future/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2079,10 +2079,6 @@ where
self.base.reconfigure_for_testing().await;
}

// async fn set_expiration_clock(&self, clock: Option<crate::common::time::Clock>) {
// self.base.set_expiration_clock(clock).await;
// }

fn key_locks_map_is_empty(&self) -> bool {
self.base.key_locks_map_is_empty()
}
Expand Down

0 comments on commit 668bdc0

Please sign in to comment.