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

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