Invoke backfillRunningBalances after sync/backfill

This commit is contained in:
Keith Solomon
2026-08-03 22:47:40 -05:00
parent a81554a125
commit f1cd0d53b1
+4
View File
@@ -79,6 +79,8 @@ function backfillUserLogs($user) {
$next = fetchAndStoreLogPage($pdo, $user, $url); $next = fetchAndStoreLogPage($pdo, $user, $url);
$url = $next; $url = $next;
} while ($next !== null); } while ($next !== null);
backfillRunningBalances($pdo, $user);
} }
/** /**
@@ -111,6 +113,8 @@ function syncUserLogs($user) {
$next = fetchAndStoreLogPage($pdo, $user, $url); $next = fetchAndStoreLogPage($pdo, $user, $url);
$url = $next; $url = $next;
} while ($next !== null); } while ($next !== null);
backfillRunningBalances($pdo, $user);
} }
/** /**