Sv443 пре 1 година
родитељ
комит
29e7e5339b
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      dist/BetterYTM.user.js

+ 3 - 3
dist/BetterYTM.user.js

@@ -212,7 +212,7 @@ const scriptInfo = {
     name: GM.info.script.name,
     version: GM.info.script.version,
     namespace: GM.info.script.namespace,
-    buildNumber: "6c446fa", // asserted as generic string instead of literal
+    buildNumber: "48eb305", // asserted as generic string instead of literal
 };/** Options that are applied to every SelectorObserver instance */
 const defaultObserverOptions = {
     defaultDebounce: 100,
@@ -2449,9 +2449,9 @@ const geniUrlRatelimitTimeframe = 30;
 `&threshold=${UserUtils.clamp(threshold, 0, 1)}` ;
 //#MARKER new cache
 /** How many cache entries can exist at a time - this is used to cap memory usage */
-const maxLyricsCacheSize = 300;
+const maxLyricsCacheSize = 1000;
 /** Maximum time before a cache entry is force deleted */
-const cacheTTL = 1000 * 60 * 60 * 24 * 7 * 2; // 2 weeks
+const cacheTTL = 1000 * 60 * 60 * 24 * 30; // 30 days
 const lyricsCache = new UserUtils.ConfigManager({
     id: "bytm-lyrics-cache",
     defaultConfig: {