From f24b00fecd1566ea8867c8b08689667d86c1a7d2 Mon Sep 17 00:00:00 2001 From: chris48s Date: Sun, 18 Jun 2023 12:50:19 +0100 Subject: [PATCH] increase max age on reddit badges (#9282) Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> --- services/reddit/subreddit-subscribers.service.js | 2 ++ services/reddit/user-karma.service.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/services/reddit/subreddit-subscribers.service.js b/services/reddit/subreddit-subscribers.service.js index d162e6fd0c626..0f908075690b6 100644 --- a/services/reddit/subreddit-subscribers.service.js +++ b/services/reddit/subreddit-subscribers.service.js @@ -30,6 +30,8 @@ export default class RedditSubredditSubscribers extends BaseJsonService { }, ] + static _cacheLength = 7200 + static defaultBadgeData = { label: 'reddit', namedLogo: 'reddit', diff --git a/services/reddit/user-karma.service.js b/services/reddit/user-karma.service.js index fe873aa046618..0ec007edc30ba 100644 --- a/services/reddit/user-karma.service.js +++ b/services/reddit/user-karma.service.js @@ -31,6 +31,8 @@ export default class RedditUserKarma extends BaseJsonService { }, ] + static _cacheLength = 7200 + static defaultBadgeData = { label: 'reddit karma', namedLogo: 'reddit',