updates yjs and lib0 deps

This commit is contained in:
Kevin Jahns
2019-09-17 20:28:12 +02:00
parent 23e786e113
commit db3a3e3732
3 changed files with 11 additions and 11 deletions

View File

@@ -101,7 +101,7 @@ const setupWS = provider => {
// log10(wsUnsuccessfulReconnects).
// The idea is to increase reconnect timeout slowly and have no reconnect
// timeout at the beginning (log(1) = 0)
setTimeout(setupWS, math.min(Math.log10(provider.wsUnsuccessfulReconnects + 1) * reconnectTimeoutBase, maxReconnectTimeout), provider)
setTimeout(setupWS, math.min(math.log10(provider.wsUnsuccessfulReconnects + 1) * reconnectTimeoutBase, maxReconnectTimeout), provider)
}
websocket.onopen = () => {
provider.wsLastMessageReceived = time.getUnixTime()