Improve Processing of Sync Tasks
This commit is contained in:
parent
b3805f1427
commit
0f767c0098
8 changed files with 323 additions and 24 deletions
|
@ -234,7 +234,7 @@ async function processSyncTasksBatch(
|
|||
previousRowId: number | null
|
||||
): Promise<number | null> {
|
||||
log.info('syncTasks: Fetching tasks');
|
||||
const result = await DataWriter.dequeueOldestSyncTasks(previousRowId);
|
||||
const result = await DataWriter.dequeueOldestSyncTasks({ previousRowId });
|
||||
const syncTasks = result.tasks;
|
||||
|
||||
if (syncTasks.length === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue