improved granularity of prosemirror binding
This commit is contained in:
@@ -10,7 +10,7 @@ import * as bc from '../../lib/broadcastchannel.js'
|
||||
const messageSync = 0
|
||||
const messageAwareness = 1
|
||||
|
||||
const reconnectTimeout = 100
|
||||
const reconnectTimeout = 3000
|
||||
|
||||
/**
|
||||
* @param {WebsocketsSharedDocument} doc
|
||||
|
||||
@@ -32,7 +32,7 @@ const afterTransaction = (doc, transaction) => {
|
||||
|
||||
class WSSharedDoc extends Y.Y {
|
||||
constructor () {
|
||||
super()
|
||||
super({ gc: true })
|
||||
this.mux = Y.createMutex()
|
||||
/**
|
||||
* Maps from conn to set of controlled user ids. Delete all user ids from awareness when this conn is closed
|
||||
|
||||
Reference in New Issue
Block a user