Do not process records if there are none to process

This commit is contained in:
Josh Perez 2021-10-01 20:01:30 -04:00 committed by GitHub
parent 893a77a3ad
commit bfe5a5edae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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