added entity changes check after sync check failure, fixed sync

This commit is contained in:
zadam
2021-11-17 22:57:09 +01:00
parent 298af217e9
commit d345b7ed56
5 changed files with 34 additions and 10 deletions

View File

@@ -204,6 +204,11 @@ function queueSector(req) {
entityChangesService.addEntityChangesForSector(entityName, sector);
}
function checkEntityChanges() {
const consistencyChecks = require("../../services/consistency_checks");
consistencyChecks.runEntityChangesChecks();
}
module.exports = {
testSync,
checkSync,
@@ -215,5 +220,6 @@ module.exports = {
update,
getStats,
syncFinished,
queueSector
queueSector,
checkEntityChanges
};