Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit ccff6c1

Browse files
committed
set cacheLifetime to 10 mins
1 parent c6d06e5 commit ccff6c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

actions/challenges.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,7 @@ exports.searchSoftwareChallenges = {
25402540
outputExample: {},
25412541
version: 'v2',
25422542
transaction : 'read', // this action is read-only
2543-
cacheLifetime: 1000 * 60 * 60,
2543+
cacheLifetime: 1000 * 60 * 10,
25442544
databases : ["tcs_catalog"],
25452545
run: function (api, connection, next) {
25462546
if (connection.dbConnectionMap) {
@@ -2566,7 +2566,7 @@ exports.searchStudioChallenges = {
25662566
outputExample: {},
25672567
version: 'v2',
25682568
transaction : 'read', // this action is read-only
2569-
cacheLifetime: 1000 * 60 * 60,
2569+
cacheLifetime: 1000 * 60 * 10,
25702570
databases : ["tcs_catalog"],
25712571
run: function (api, connection, next) {
25722572
if (connection.dbConnectionMap) {
@@ -2592,7 +2592,7 @@ exports.searchSoftwareAndStudioChallenges = {
25922592
outputExample: {},
25932593
version: 'v2',
25942594
transaction : 'read', // this action is read-only
2595-
cacheLifetime: 1000 * 60 * 60,
2595+
cacheLifetime: 1000 * 60 * 10,
25962596
databases : ["tcs_catalog"],
25972597
run: function (api, connection, next) {
25982598
if (connection.dbConnectionMap) {

0 commit comments

Comments
 (0)