Resolution days now better correspond to the meaning

This commit is contained in:
2025-01-08 16:25:55 +01:00
parent 1628a4b238
commit 34f40b3602
3 changed files with 7 additions and 5 deletions

4
src/cache/cache.rs vendored
View File

@ -55,7 +55,7 @@ impl Cache {
match resolution {
Resolution::TODAY => self.day.as_ref(),
Resolution::HistDays90 => self.hist_90.as_ref(),
Resolution::HistDay => self.hist_day.as_ref(),
Resolution::HistDaysAll => self.hist_day.as_ref(),
}
}
@ -64,7 +64,7 @@ impl Cache {
match resolution {
Resolution::TODAY => self.day = cache_line_opt,
Resolution::HistDays90 => self.hist_90 = cache_line_opt,
Resolution::HistDay => self.hist_day = cache_line_opt,
Resolution::HistDaysAll => self.hist_day = cache_line_opt,
}
}