Skip to content

Commit eae7207

Browse files
committed
Change cache setting to not update age on get
1 parent 23fa587 commit eae7207

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

services/npm.js

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const router = express.Router();
1919
const cache = new LRU({
2020
max: 0,
2121
maxAge: 7 * 60 * 60 * 1000,
22-
updateAgeOnGet: true,
2322
});
2423

2524
/**

0 commit comments

Comments
 (0)