Open oyalhi opened 4 months ago
I can repeat the following. Don't know if that corresponds to what you are experiencing...
To me this does not end up in some state that locks the application or goes into any endless loop. Is this the same in your case or do you experience more frequent logs than every 3rd second at most?
I am on a macbook with chrome devtools but I can't reproduce the devtools becoming unresponsive.
Could your situation be reproducable with your app and computer with chrome / devtools?
Just checked dexie cloud todo sample app. The behavior is very different than what I'm observing with our app.
It might be related to the 2 web workers we have. Without having any interaction we seem to get into endless loop. Not sure what's causing it. Workers are meant to run once on an update to a transaction. Our app is a PWA if that matters.
Here is a short video showing the error, around 29second mark after we update a record issue is more observable: https://share.cleanshot.com/zVy77NTX
As the title suggests. When we take the device offline, the errors start to pile up. So much so that chrome devtools becomes unresponsive and safari devtools connected to an actual device just crashes and closes.
Alternatively, is there a best practice we should be following when the device is offline in terms of dexie cloud?