Invoke backfillRunningBalances after sync/backfill
This commit is contained in:
1 parent
a81554a125
commit
f1cd0d53b1
1 file changed
+4
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user