Tweak some cache TTLs

This commit is contained in:
MICHAEL JACKSON
2017-08-11 19:17:02 -07:00
parent 7abb881795
commit 0d004b581b
2 changed files with 16 additions and 10 deletions

View File

@ -38,7 +38,7 @@ const fetchMutex = createMutex(function (packageName, callback) {
callback(null, value)
})
} else {
// Cache valid package info for one minute.
// Cache valid package info for 1 minute.
PackageInfoCache.set(packageName, value, 60, function () {
callback(null, value)
})