Skip to content

Commit

Permalink
Improve launch process with /new page
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Oct 23, 2024
1 parent 6bc0217 commit 1af067f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/launch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]);
Expand Down

0 comments on commit 1af067f

Please sign in to comment.