fix: temporarily increase the cache hours (#1771)

This commit is contained in:
Anurag Hazra authored and GitHub committed 2022-05-19 00:48:26 +05:30
1 parent 9734a998cc
commit 9d2bfd9d8f
5 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -41,8 +41,8 @@ module.exports = async (req, res) => {
const repoData = await fetchRepo(username, repo);
let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.TWO_HOURS, 10),
CONSTANTS.TWO_HOURS,
parseInt(cache_seconds || CONSTANTS.FOUR_HOURS, 10),
CONSTANTS.FOUR_HOURS,
CONSTANTS.ONE_DAY,
);