aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-06-15 09:57:46 -0400
committerbobzel <zzzman@gmail.com>2023-06-15 09:57:46 -0400
commita6181a5695c7355b7996ac6c6c1e7aad886e6302 (patch)
tree21aa88c53a159ff6a69ab6f5f8a72550579ba220 /src/client/util/CurrentUserUtils.ts
parentbe0730195d8090337ca5cd007b69615ede354ca8 (diff)
fixed updating server cache when window/tab closes.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 59041862f..592f6d836 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -875,6 +875,7 @@ export class CurrentUserUtils {
new LinkManager();
setTimeout(DocServer.UPDATE_SERVER_CACHE, 2500);
+ setInterval(DocServer.UPDATE_SERVER_CACHE, 120000);
return doc;
}
static setupFieldInfos(doc:Doc, field="fieldInfos") {