From 5b3dcde28cb0a6f71bc09cc8ccb69939d206ec95 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 9 Jul 2021 16:43:17 +0530 Subject: [PATCH] disable cache usage for form results --- www/common/outer/cache-store.js | 2 +- www/form/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/outer/cache-store.js b/www/common/outer/cache-store.js index fdb1f7668..514e18ab7 100644 --- a/www/common/outer/cache-store.js +++ b/www/common/outer/cache-store.js @@ -97,7 +97,7 @@ define([ var checkCheckpoints = function (array) { if (!Array.isArray(array)) { return; } // Keep the last 100 messages - if (array.length > 100) { + if (array.length > 100) { // XXX array.splice(0, array.length - 100); } // Remove every message before the first checkpoint diff --git a/www/form/main.js b/www/form/main.js index 9ccac3d00..3b2c160a4 100644 --- a/www/form/main.js +++ b/www/form/main.js @@ -176,7 +176,7 @@ define([ validateKey: keys.secondaryValidateKey, owners: [myKeys.edPublic], crypto: crypto, - Cache: Utils.Cache + //Cache: Utils.Cache // XXX }; var results = {}; config.onError = function (info) {