From 8e35aa74f0349007c4123db1219fc4f5e41d9187 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 15 Mar 2023 08:32:56 -0400 Subject: [PATCH] Report only launch-time value of maxAssetCacheWait --- src/js/assets.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/js/assets.js b/src/js/assets.js index 2a72fc6be..b1723c9bf 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -558,10 +558,12 @@ const assetCacheRead = async function(assetKey, updateReadTime = false) { cacheStorage.get(internalKey), ]); - µb.supportStats.maxAssetCacheWait = Math.max( - Date.now() - t0, - parseInt(µb.supportStats.maxAssetCacheWait, 10) || 0 - ) + ' ms'; + if ( µb.readyToFilter !== true ) { + µb.supportStats.maxAssetCacheWait = Math.max( + Date.now() - t0, + parseInt(µb.supportStats.maxAssetCacheWait, 10) || 0 + ) + ' ms'; + } if ( bin instanceof Object === false ||