Skip to content

Commit

Permalink
Merge pull request #25 from yatharthmathur/ym_cleanup_persist
Browse files Browse the repository at this point in the history
chore: cleanup persist db method
  • Loading branch information
yatharthmathur authored Jan 12, 2024
2 parents 2d72e79 + d3ad8b1 commit 46773e2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/data_store/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ impl KeyValueStore {
self._data.get(key)
}

fn _persist_db(&mut self) {
/// open file
/// write in binary
/// close file
todo!();
}

pub fn clear_all_expired_keys(&mut self) {
let now = Instant::now();
let expired_keys: Vec<String> = self
Expand Down

0 comments on commit 46773e2

Please sign in to comment.