944099356678717500
DIAdiscord.js - Imagine an app
•Created by 944099356678717500 on 8/6/2023 in #djs-questions
Sweeper interval
I want a persistent cache with no interval, but https://discordjs.guide/miscellaneous/cache-customization.html#sweeping-caches does not explicitly state how to achieve this. When I try to remove the "interval" property entirely, it leads to an error. I would like the "lifetime" property and nothing else
My question is whether setting it to "0" would remove the interval, or if an interval is required
2 replies