From 1ee176e0344e6691f6fa2b3c514fe85b6c53d9ca Mon Sep 17 00:00:00 2001
From: chris48s <chris48s@users.noreply.github.com>
Date: Tue, 29 Aug 2023 19:32:58 +0100
Subject: [PATCH] cache [pypi] downloads for longer (#9522)

---
 services/pypi/pypi-downloads.service.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/services/pypi/pypi-downloads.service.js b/services/pypi/pypi-downloads.service.js
index d6449bcdcd..2783a70ea8 100644
--- a/services/pypi/pypi-downloads.service.js
+++ b/services/pypi/pypi-downloads.service.js
@@ -53,6 +53,8 @@ export default class PypiDownloads extends BaseJsonService {
     },
   ]
 
+  static _cacheLength = 21600
+
   static defaultBadgeData = { label: 'downloads' }
 
   async fetch({ packageName }) {
-- 
GitLab