mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-09-21 13:31:42 +00:00
feat(worker): fork to the forward-priority path in processOneArchiveSet
This commit is contained in:
@@ -377,6 +377,7 @@ export interface ActivityUpdate {
|
||||
zipsDuplicate?: number;
|
||||
zipsIngested?: number;
|
||||
zipsBackfilled?: number;
|
||||
zipsForwarded?: number;
|
||||
}
|
||||
|
||||
export async function updateRunActivity(
|
||||
@@ -401,6 +402,7 @@ export async function updateRunActivity(
|
||||
...(activity.zipsDuplicate !== undefined && { zipsDuplicate: activity.zipsDuplicate }),
|
||||
...(activity.zipsIngested !== undefined && { zipsIngested: activity.zipsIngested }),
|
||||
...(activity.zipsBackfilled !== undefined && { zipsBackfilled: activity.zipsBackfilled }),
|
||||
...(activity.zipsForwarded !== undefined && { zipsForwarded: activity.zipsForwarded }),
|
||||
...(activity.currentTopicId !== undefined && { currentTopicId: activity.currentTopicId }),
|
||||
...(activity.currentAccountChannelMapId !== undefined && {
|
||||
currentAccountChannelMapId: activity.currentAccountChannelMapId,
|
||||
@@ -432,6 +434,7 @@ export async function completeIngestionRun(
|
||||
zipsDuplicate: number;
|
||||
zipsIngested: number;
|
||||
zipsBackfilled: number;
|
||||
zipsForwarded: number;
|
||||
}
|
||||
) {
|
||||
return db.ingestionRun.update({
|
||||
|
||||
Reference in New Issue
Block a user