keremkoseoglu / Kifu

Time tracker
MIT License
0 stars 0 forks source link

web update logic change #91

Closed keremkoseoglu closed 3 years ago

keremkoseoglu commented 3 years ago

Current: Update values on startup Wanted: Update values when a report is called

keremkoseoglu commented 3 years ago

Ensure that each update is conducted only once per program execution. In other words, if the user asked for the same data update twice, don't update the data twice, cache it. When program restarts, this can reset - so this "update / dont update" decision can reside in memory as a static variable.