Skip to content

Commit

Permalink
chore(cache.mjs): increase stdTTL
Browse files Browse the repository at this point in the history
  • Loading branch information
supersonictw committed May 26, 2024
1 parent c40808e commit 6ceaec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/cache.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import NodeCache from "node-cache";

// Initialize node-cache
const cache = new NodeCache({stdTTL: 100});
const cache = new NodeCache({stdTTL: 7200});

// Export as a function named useCache
export const useCache = () => cache;

0 comments on commit 6ceaec6

Please sign in to comment.