From 839928b390a1e967ba3aaa80a685806ee5873506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 14 Jun 2024 07:44:10 -0400 Subject: [PATCH] another one --- src/activitypub/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/notes.js b/src/activitypub/notes.js index b528165bfd..2e6efabdf1 100644 --- a/src/activitypub/notes.js +++ b/src/activitypub/notes.js @@ -396,7 +396,7 @@ Notes.prune = async () => { * - Post within is liked */ winston.info('[notes/prune] Starting scheduled pruning of topics'); - const start = 0; + const start = '-inf'; const stop = Date.now() - (1000 * 60 * 60 * 24 * 30); // 30 days; todo: make configurable? let tids = await db.getSortedSetRangeByScore('cid:-1:tids', 0, -1, start, stop);