Can Awareness be disabled for a document? #673
-
Is it possible to disable awareness messages for just a set of documents? Our use case is that we have a Yjs document per user (to store metadata about that user), and each user can "connect" to many other users' documents. So we have (say) several hundred Yjs documents connected at any given moment, but we don't want all of the Awareness messaging for these documents affecting bandwidth or server-side processes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe this recent comment from @janthurau answers my question: In short, pass "null" as the |
Beta Was this translation helpful? Give feedback.
I believe this recent comment from @janthurau answers my question:
9cb0b54
In short, pass "null" as the
awareness
object to HocuspocusProvider and the document will not send awareness info. At least one document per websocket should have awareness enabled, however.