From eb4563b914edb7a8a823cdf115c637a2d4b64bde Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 20 Oct 2021 12:21:53 +0530 Subject: [PATCH] larger OnlyOffice checkpoint intervals --- www/common/onlyoffice/inner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 07a45df92..e59bdea03 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -58,8 +58,8 @@ define([ urlArgs: Util.find(ApiConfig, ['requireConf', 'urlArgs']) }; - var CHECKPOINT_INTERVAL = 20; // XXX - var FORCE_CHECKPOINT_INTERVAL = 50; // XXX + var CHECKPOINT_INTERVAL = 100; // XXX + var FORCE_CHECKPOINT_INTERVAL = 600; // XXX var DISPLAY_RESTORE_BUTTON = false; var NEW_VERSION = 4; // version of the .bin, patches and ChainPad formats var PENDING_TIMEOUT = 30000;