Removing a condition that doesn't seem necessary before deleting docs.x

This commit is contained in:
vdv committed 2023-02-15 15:37:45 +01:00
1 parent 937fd885fa
commit 951deb5fef
2 files changed
+5 -4

No files matched your search

+2 -3
View File
@@ -221,9 +221,8 @@ export const watchDbLegacy = async () => {
while (true) {
await until(
() =>
state()?.sync?.paused &&
state()?.sync?.lastSeq >= state()?.localUpdateSeq - 1, // I wonder why this can happen !
() => state()?.sync?.paused, //&&
//state()?.sync?.lastSeq >= state()?.localUpdateSeq - 1, // I wonder why this can happen !
1000
);