db put should take parent's shared by default.

This commit is contained in:
vdv committed 2023-02-13 10:56:48 +01:00
1 parent 9ea29b368f
commit e445a7e1af
4 files changed
+22 -14

No files matched your search

+2 -2
View File
@@ -214,7 +214,7 @@ export const watchDbLegacy = async () => {
// // store,
// // allDocs,
// docs,
// state: state(),
// state: state(),gi
// });
return docs;
};
@@ -223,7 +223,7 @@ export const watchDbLegacy = async () => {
await until(
() =>
state()?.sync?.paused &&
state()?.sync?.lastSeq >= state()?.localUpdateSeq,
state()?.sync?.lastSeq >= state()?.localUpdateSeq - 1, // I wonder why this can happen !
1000
);