From c680fa67d9433de5f0b913a00a84953c30f7edb6 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 5 Jun 2024 12:31:17 -0400 Subject: [PATCH] chore: update ap cron job config --- src/activitypub/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/activitypub/index.js b/src/activitypub/index.js index 1537aa8eee..69f16a9b61 100644 --- a/src/activitypub/index.js +++ b/src/activitypub/index.js @@ -44,8 +44,7 @@ ActivityPub.actors = require('./actors'); ActivityPub.startJobs = () => { winston.verbose('[activitypub/jobs] Registering jobs.'); - new CronJob('0 0 * * *', ActivityPub.notes.prune, null, true); - // new CronJob(new Date(Date.now() + 2000), ActivityPub.notes.prune, null, true); + new CronJob('0 0 * * *', ActivityPub.notes.prune, null, true, null, null, false); // change last argument to true for debugging }; ActivityPub.resolveId = async (uid, id) => {