mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Fix bug with queue closing before document saving in checkDocumentExpire
This commit is contained in:
@ -1348,7 +1348,7 @@ function createSaveTimer(ctx, docId, opt_userId, opt_userIndex, opt_userLcid, op
|
||||
}
|
||||
while (true) {
|
||||
if (!sqlBase.isLockCriticalSection(docId)) {
|
||||
canvasService.saveFromChanges(ctx, docId, updateTask.statusInfo, null, opt_userId, opt_userIndex, opt_userLcid, opt_queue, opt_initShardKey);
|
||||
yield canvasService.saveFromChanges(ctx, docId, updateTask.statusInfo, null, opt_userId, opt_userIndex, opt_userLcid, opt_queue, opt_initShardKey);
|
||||
break;
|
||||
}
|
||||
yield utils.sleep(c_oAscLockTimeOutDelay);
|
||||
|
||||
Reference in New Issue
Block a user