fix: notif bg location lost, avoid night

This commit is contained in:
devthejo 2025-07-11 08:54:07 +02:00
parent 4cc74845c2
commit d7a148c208
No known key found for this signature in database
GPG key ID: 00CCA7A92B1D5351

View file

@ -5,7 +5,7 @@ const cron = require("~/libs/cron")
const { DEVICE_GEODATA_MAX_AGE } = require("~/constants/time")
const tasks = require("~/tasks")
const CLEANUP_CRON = "0 */1 * * *" // Run every hour
const CLEANUP_CRON = "0 9-19 * * *" // Run every hour from 9h to 19h
const MAX_PARALLEL_PROCESS = 10
const COLDGEODATA_DEVICE_KEY_PREFIX = "device:geodata:"
const COLDGEODATA_OLD_KEY_PREFIX = "old:device:geodata:"