From 4cfda0acb8a59e8309db8e757bcad3548e1dacb8 Mon Sep 17 00:00:00 2001 From: chris48s Date: Tue, 1 Jun 2021 10:57:47 +0100 Subject: [PATCH] increase max-age for download and social badges --- core/base-service/base.js | 2 ++ services/twitch/twitch.service.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/base-service/base.js b/core/base-service/base.js index 471e18071479b..332c7ca8380d1 100644 --- a/core/base-service/base.js +++ b/core/base-service/base.js @@ -143,6 +143,8 @@ class BaseService { license: 3600, version: 300, debug: 60, + downloads: 900, + social: 900, } return cacheLengths[this.category] } diff --git a/services/twitch/twitch.service.js b/services/twitch/twitch.service.js index f9fa25f504890..2bd3f53a320dc 100644 --- a/services/twitch/twitch.service.js +++ b/services/twitch/twitch.service.js @@ -30,6 +30,8 @@ module.exports = class TwitchStatus extends TwitchBase { }, ] + static _cacheLength = 30 + static defaultBadgeData = { label: 'twitch', namedLogo: 'twitch',