re-enable indexedDB cache for testing

pull/1/head
ansuz 4 years ago
parent 92055f2567
commit b7ea099eab

@ -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,

@ -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

@ -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,
},

Loading…
Cancel
Save