Commit Graph
2 Commits
Author SHA1 Message Date
lukaszraczylo 1b00236749 test(gormstore): stop the background aggregator in time-series stores
Rollup tests set the worker clock while the background aggregation loop
read it, so the race detector failed about one run in ten. These stores
now stop the loop, and the tests drive aggregation by hand.
2026-11-24 02:42:11 +00:00
lukaszraczylo 879ece368e fix(stats): include unaggregated downloads in the timeseries
The timeseries read only the aggregated tables. The hourly worker skips the
current hour and the daily rollup skips the current day, so fresh downloads
showed as zero. The query now merges raw download events, hourly rows and
daily rollups, with all buckets in UTC. The change in gormstore is limited to
GetTimeSeriesStats.
2026-11-23 02:29:14 +00:00