Skip to content

Commit

Permalink
Do not process records if there are none to process
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-signal committed Oct 2, 2021
1 parent 893a77a commit bfe5a5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ts/services/storage.ts
Expand Up @@ -809,6 +809,10 @@ async function processManifest(
});
});

if (!remoteOnlyRecords.size) {
return false;
}

const conflictCount = await processRemoteRecords(remoteOnlyRecords);

// Post-merge, if our local records contain any storage IDs that were not
Expand Down

0 comments on commit bfe5a5e

Please sign in to comment.