debug: changing interval

This commit is contained in:
daniel muniz
2025-02-26 12:29:29 -03:00
parent ce61dc25b4
commit 99f340e6a5

View File

@@ -5,7 +5,7 @@ const updateCategories = new UpdateCategoriesUseCase()
module.exports = async function cron() { module.exports = async function cron() {
updateCategories.execute() updateCategories.execute()
const oneDay = 1000 * 60 * 60 * 24 const oneDay = 10000// * 60 * 60 * 24
setInterval(() => { setInterval(() => {
updateCategories.execute() updateCategories.execute()
}, oneDay) }, oneDay)