mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
Downgrade outdated-ack message to debugConsole.warn
GitOrigin-RevId: 3537d4e3ee311cafc2956b2a9d3267e8184af48e
This commit is contained in:
+1
-8
@@ -1096,14 +1096,7 @@ export const { Doc } = (() => {
|
||||
if (!msg.error) {
|
||||
if (msg.op === undefined && msg.v !== undefined) {
|
||||
if (msg.v < this.version) {
|
||||
postJSON('/error/client', {
|
||||
body: {
|
||||
error: {
|
||||
message: 'out-of-order-ack-ignored'
|
||||
},
|
||||
meta: { msg, version: this.version }
|
||||
}
|
||||
})
|
||||
debugConsole.warn('Received an ack for an op with an outdated version.')
|
||||
return
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user