Merge pull request #23714 from overleaf/ae-revert-unsaved-docs
Revert "Increase the length of unsaved doc time before the editor is locked" GitOrigin-RevId: 0f2d257a55ebc3353ded2b10d505bfdb2e85f402
This commit is contained in:
@@ -182,10 +182,6 @@ export class DocumentContainer extends EventEmitter {
|
||||
return this.doc?.getRecentAck()
|
||||
}
|
||||
|
||||
getInflightOpCreatedAt() {
|
||||
return this.doc?.getInflightOpCreatedAt()
|
||||
}
|
||||
|
||||
hasBufferedOps() {
|
||||
return this.doc?.hasBufferedOps()
|
||||
}
|
||||
@@ -358,7 +354,7 @@ export class DocumentContainer extends EventEmitter {
|
||||
pendingOpSize < MAX_PENDING_OP_SIZE
|
||||
) {
|
||||
// There is an op waiting to go to server but it is small and
|
||||
// within the recent ack limit, this is OK for now.
|
||||
// within the flushDelay, this is OK for now.
|
||||
saved = true
|
||||
debugConsole.log(
|
||||
'[pollSavedStatus] pending op (small with recent ack) assume ok',
|
||||
|
||||
Reference in New Issue
Block a user