From 6bc103be5f0150b97045d7fc97d20f2363bba509 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 8 Dec 2020 16:43:50 +0530 Subject: [PATCH] delay cache eviction each time the metadata is requested --- lib/commands/metadata.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands/metadata.js b/lib/commands/metadata.js index b189d73be..d21b7103c 100644 --- a/lib/commands/metadata.js +++ b/lib/commands/metadata.js @@ -13,6 +13,7 @@ Data.getMetadataRaw = function (Env, channel /* channelName */, _cb) { var cached = Env.metadata_cache[channel]; if (HK.isMetadataMessage(cached)) { + Env.checkCache(channel); return void cb(void 0, cached); }