feature: extend default card cache time to 6 hours (#3242)

* feature: extend default card cache time to 8 hours

* reduce to six hours
This commit is contained in:
Alexandr Garbuzov authored and GitHub committed 2023-09-19 11:54:27 +02:00
1 parent eb787af325
commit 2ee803fc16
9 files changed
+45 -33

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ export default async (req, res) => {
let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.CARD_CACHE_SECONDS, 10),
CONSTANTS.FOUR_HOURS,
CONSTANTS.SIX_HOURS,
CONSTANTS.ONE_DAY,
);
cacheSeconds = process.env.CACHE_SECONDS