atomic-server
atomic-server copied to clipboard
Flaky e2e test - slow invite accepting on atomicdata.dev
The tests seem to work fine locally, and only fail sometimes.
Update: seems to be sign up and edit document atomicdata.dev is very slow.
Not sure why this is. I think maybe it's a new Query that has to be performed.
I think I found the issue - invite.rs did a store.get(public_key) instead of store.get(subject)
I've just pushed a new version to production that should fix this.
It's faster, but it's not fast fast. Probably because the write collection is simply huge and updating the indexes takes long on this slow hardware! I now tried using push_propval, which should minimize the indexing needed.