implement shared environment between historyKeeper and RPC

This commit is contained in:
ansuz
2020-02-17 09:01:10 -05:00
parent 1fc8c1de16
commit f86196e40a
4 changed files with 114 additions and 122 deletions

View File

@@ -111,8 +111,8 @@ Data.setMetadata = function (Env, safeKey, data, cb, Server) {
cb(void 0, metadata);
next();
const metadata_cache = Env.historyKeeper.metadata_cache;
const channel_cache = Env.historyKeeper.channel_cache;
const metadata_cache = Env.metadata_cache;
const channel_cache = Env.channel_cache;
metadata_cache[channel] = metadata;