ilya2204

Results 15 comments of ilya2204

Understood thanks. It's just that there are actually different parameters `messageReconnectTimeout`, `forceSyncInterval`, `pingInterval`, `outdatedTimeout` quite confusing.

I could be wrong, but at first glance, if you copy [Awareness class](https://github.com/yjs/y-protocols/blob/a4dd5de756f1061eaca9c1b4ebb2013e74987a11/awareness.js#L13) and replace the timeout with the desired one, then everything should work.

@janthurau but it seems that doing ping/pong for each document on the socket, and not for the entire socket as a whole, is an overhead

Any updates? I have this issues too

As far as I know, this is the behavior of yjs. Until someone explicitly calls getMap/getArray in the document, the document will not contain information about a specific type.