Skip to content

Commit

Permalink
chore(cache): add todo note
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Jan 15, 2025
1 parent 03a5b1b commit d99c2fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use std::{

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Entry {
// TODO: Simplify timestamp; storing full SystemTime struct/object is inefficient compared to just the (nano)?seconds as integer.
timestamp: SystemTime,
data: serde_json::Value,
}
Expand Down

0 comments on commit d99c2fe

Please sign in to comment.