Improve Processing of Sync Tasks
Co-authored-by: yash-signal <yash@signal.org>
This commit is contained in:
parent
7fadc0b684
commit
ebd360c3a3
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