wandnz / streamevmon

Framework and pipeline for time series anomaly detection
GNU General Public License v3.0
1 stars 1 forks source link

Fix caching semantics #37

Closed wandgitlabbot closed 3 years ago

wandgitlabbot commented 3 years ago

In GitLab, by Daniel Oosterwijk on 2020-10-14

PostgresConnection has a strange relationship with Caching. Not all of its functions use caching, seemingly arbitrarily, but some of the places that use the connection then go ahead and cache the results that the connection doesn't cache! This really should be ironed out, and we might want to look at improving the TTL interface and how to request fresh results.

wandgitlabbot commented 3 years ago

In GitLab, by Daniel Oosterwijk on 2021-01-22

Turns out there wasn't that much to fix about the semantics, but I've refactored it a bit anyway. I'll copypaste the description of the commit here:

Of course, there's no direct tests for Caching, so let's fix that in a new issue.