feat(web): cache dashboard aggregations with version invalidation
This commit is contained in:
1 parent
91aa3e1f95
commit
9fd277c05f
15 files changed
+399
-30
No files matched your search
@@ -202,6 +202,8 @@ def import_fans_series(
|
||||
ok=True,
|
||||
captured_at=_day_timestamp(date.fromisoformat(day)),
|
||||
)
|
||||
if not dry_run and (inserted or updated or deleted):
|
||||
repo.bump_cache_version("fans")
|
||||
return {
|
||||
"ok": True,
|
||||
"dry_run": bool(dry_run),
|
||||
|
||||
Reference in new issue
Block a user