Update others/scaler.mjs

This commit is contained in:
sent 2025-06-05 21:12:21 -07:00
parent 8845426001
commit c13a708584

View File

@ -6,7 +6,7 @@ let cache = makeCache(maxKeys);
function makeCache(maxEntries) { function makeCache(maxEntries) {
return new LRUCache({ return new LRUCache({
maxSize: maxEntries, maxSize: maxEntries,
ttl: 4 * 24 * 60 * 60 * 1_000, ttl: 60_000,
allowStale: false, allowStale: false,
updateAgeOnGet: false, updateAgeOnGet: false,
updateAgeOnHas: false, updateAgeOnHas: false,