New Feature:

- Skip conflicted check while replication

Fixed:
- Rewrited replication reflection algorithm.
This commit is contained in:
vorotamoroz
2022-06-13 17:36:26 +09:00
parent 728dabce60
commit 46ff17fdf3
8 changed files with 183 additions and 14 deletions
+2 -2
View File
@@ -253,7 +253,7 @@ export class LocalPouchDB {
Logger("Conversion completed!", LOG_LEVEL.NOTICE);
old.destroy(); // delete the old database.
this.isReady = true;
return nextSeq();
return await nextSeq();
} else {
throw new Error("Conversion failed!");
}
@@ -265,7 +265,7 @@ export class LocalPouchDB {
return false;
}
} else {
return nextSeq();
return await nextSeq();
}
}