Skip to content

Commit

Permalink
Remove "stale removal" code
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleSamSwiss committed Jan 17, 2025
1 parent 9e06d96 commit dac6865
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions express/backend/src/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ async function collectRepos(): Promise<void> {
]);
const collection = db.repoAdapters();

// remove "stale" entries
const { deletedCount } = await collection.deleteMany({
source: { $exists: false },
});
console.log(`Deleted ${deletedCount || 0} stale entries`);

await Promise.all([
addRepoAdapters(collection, latest, "latest"),
addRepoAdapters(collection, stable, "stable"),
Expand Down

0 comments on commit dac6865

Please sign in to comment.