re-enable indexedDB cache for testing

pull/1/head
ansuz 2020-12-21 15:02:13 +05:30
parent 92055f2567
commit b7ea099eab
3 changed files with 4 additions and 4 deletions

View File

@ -1631,7 +1631,7 @@ define([
Store.leavePad(null, data, function () {});
};
var conf = {
//Cache: Cache, // XXX re-enable cache usage
Cache: Cache, // XXX re-enable cache usage
onCacheStart: function () {
postMessage(clientId, "PAD_CACHE");
},
@ -2686,7 +2686,7 @@ define([
readOnly: false,
validateKey: secret.keys.validateKey || undefined,
crypto: Crypto.createEncryptor(secret.keys),
//Cache: Cache, // XXX re-enable cache usage
Cache: Cache, // XXX re-enable cache usage
userName: 'fs',
logLevel: 1,
ChainPad: ChainPad,

View File

@ -175,7 +175,7 @@ define([
ChainPad: ChainPad,
classic: true,
network: network,
//Cache: Cache, // XXX re-enable cache usage
Cache: Cache, // XXX re-enable cache usage
metadata: {
validateKey: secret.keys.validateKey || undefined,
owners: owners

View File

@ -427,7 +427,7 @@ define([
channel: secret.channel,
crypto: crypto,
ChainPad: ChainPad,
//Cache: Cache, // XXX re-enable cache usage
Cache: Cache, // XXX re-enable cache usage
metadata: {
validateKey: secret.keys.validateKey || undefined,
},