Skip to content

Commit

Permalink
Increase curation ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Jan 26, 2025
1 parent 7283630 commit bcbed91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/curation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { fetchCache } from "../utils.mjs";
const minuteInMs = 60000;
const cache = new FileSystemCache({
cacheDirectory: path.resolve(env.CACHE_DIR),
ttl: minuteInMs,
ttl: minuteInMs * 60,
});
const fetch = fetchBuilder.withCache(cache);
const fetchStaleWhileRevalidate = fetchCache(fetch, cache);
Expand Down

0 comments on commit bcbed91

Please sign in to comment.