Skip to content

Commit f7a059d

Browse files
committed
Increase cache time to 6 hours
1 parent aeff1d1 commit f7a059d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/npm.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const router = express.Router();
1212
* @var NodeCache
1313
*/
1414
const cache = new NodeCache({
15-
stdTTL: 3 * 60 * 60,
16-
checkperiod: (3 * 60 * 60) + 100
15+
stdTTL: 6 * 60 * 60,
16+
checkperiod: (6 * 60 * 60) + 100
1717
});
1818

1919
/**

0 commit comments

Comments
 (0)