Daniel Meyer

Results 200 comments of Daniel Meyer

Closing this. On the next major version, `toggleOnDocumentVisible` will be `true` by default. Discussion still welcomed if you have any ideas on how to improve.

@space7panda It think it is very unlikely that this comes from `toggleOnDocumentVisible` and based on the given information I do not think it is possible to reproduce that problem for...

You could use the logger plugin to check what is going on in your storage. Likeky some other writes block your bulk-inserts so they are slow waiting to open a...

> @pubkey I can confirm that toggleOnDocumentVisible causes problems with bulk writes. - I've recently discovered this because rxdb didn't resolve the db.addCollections promise at all on safari iOS. It...

No a try-catch is not the correct solution. We should detect where this comes from. `ensureNotFalsy` should never ever throw on runtime. This is only used to satisfy typescript.

If .pause is called while .start is still starting up, the .pause call should await the startup-procedure. This likely would also fix your `DatabaseClosedError` from before.

@space7panda I could not reproduce your problem. Can you make a PR with a test case that simulates this behvior and shows that it causes errors?

This fails the CI, please check.

@tychoprice Please check