more sync recovery fixes

This commit is contained in:
zadam
2019-12-24 17:49:44 +01:00
parent 474baa7d95
commit f75c008154
4 changed files with 143 additions and 91 deletions

View File

@@ -251,6 +251,8 @@ async function checkContentHash(syncContext) {
await syncTableService.addEntitySyncsForSector(entityName, entityPrimaryKey, sector);
await syncRequest(syncContext, 'POST', `/api/sync/queue-sector/${entityName}/${sector}`);
log.info(`Added sector ${sector} of ${entityName} to sync queue.`);
}
return failedChecks.length > 0;