fix test by adapting top-langs lower bound
This commit is contained in:
@@ -76,7 +76,7 @@ export default async (req, res) => {
|
||||
|
||||
let cacheSeconds = clampValue(
|
||||
parseInt(cache_seconds || CONSTANTS.TOP_LANGS_CACHE_SECONDS, 10),
|
||||
CONSTANTS.TWO_DAY,
|
||||
CONSTANTS.FOUR_HOURS,
|
||||
CONSTANTS.TEN_DAY,
|
||||
);
|
||||
cacheSeconds = process.env.CACHE_SECONDS
|
||||
|
||||
Reference in New Issue
Block a user