Node.js based forum software built for the modern web
fix: analytics job
Julian Lam9a981145de34
diff --git a/src/activitypub/jobs.js b/src/activitypub/jobs.jsindex 4eac139347..8c4f83c5a8 100644--- a/src/activitypub/jobs.js+++ b/src/activitypub/jobs.js@@ -72,7 +72,7 @@ Jobs.start = async () => {onTick: async () => {await tryCronJob(async () => {// Delete entries older than 24h- await db.sortedSetsRemoveRangeByScore(['ap:errors', 0, Date.now() - (1000 * 60 * 60 * 24)]);+ await db.sortedSetsRemoveRangeByScore(['ap:errors'], '-inf', Date.now() - (1000 * 60 * 60 * 24));});},});