From 5fb5a301880f2ccbb607a87830b5d392faae0034 Mon Sep 17 00:00:00 2001
From: chris48s <chris48s@users.noreply.github.com>
Date: Thu, 6 Mar 2025 17:30:49 +0000
Subject: [PATCH] tweak default cache lengths by category (#10919)

---
 core/base-service/base.js | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/core/base-service/base.js b/core/base-service/base.js
index 6904a11342..d8e9b66301 100644
--- a/core/base-service/base.js
+++ b/core/base-service/base.js
@@ -150,12 +150,18 @@ class BaseService {
   static get _cacheLength() {
     const cacheLengths = {
       build: 30,
-      license: 3600,
-      version: 300,
       debug: 60,
-      downloads: 900,
-      rating: 900,
-      social: 900,
+
+      'platform-support': 300,
+      size: 300,
+      version: 300,
+
+      chat: 1800,
+      downloads: 1800,
+      rating: 1800,
+      social: 1800,
+
+      license: 14400,
     }
     return cacheLengths[this.category]
   }
-- 
GitLab