Geodan/cow

Project data emptied without reason

Closed this issue · 5 comments

It seems that projectdata is being emptied on and off.
Not sure what is causing this but it is happening since a recent rewrite of cow.indexeddb and cow.messenger

This has possibly been fixed. Not really sure what was causing it but a bug was introduced in the last major release that would stop the _projectid being set correctly.
Close when no problems occur in a week.

Not fixed. New try in commit #f9361d154ce52b8201e7dc2a788a139f36dcb3db

Interesting comment here: https://unhosted.org/book/#episode-27

"With the commit cache in place, IndexedDB works pretty well. Just make sure you prevent page refreshes if an IndexedDB request is running, otherwise you will see an AbortError after the page refresh. Before I was using this commit cache, I often saw thousands of AbortErrors happening after a page refresh. This would sometimes take 10 or 15 minutes before the page was usable again."

Possibly fixed in merge #155

This is a temporary fix now that is connected to bug #160