From 1af067f2ba0a03d500daba52552ab92c926d8fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Wed, 23 Oct 2024 10:41:10 +0200 Subject: [PATCH] Improve launch process with /new page --- src/launch.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/launch.mjs b/src/launch.mjs index f3a95ba..17a0787 100644 --- a/src/launch.mjs +++ b/src/launch.mjs @@ -122,9 +122,7 @@ store if (!reconcileMode) { const urls = await moderation.getFeeds(); - Promise.all([feeds.recompute(urls), newest.recompute(trie)]).then(() => - log("Feeds computed"), - ); + newest.recompute(trie).then(() => log("Feeds computed")); // TODO: Unclear if this is still necessary setInterval(async () => { await Promise.all([feeds.recompute(urls), newest.recompute(trie)]);