Skip to content

Commit e9298e5

Browse files
committed
Render top 3 runs from mel board
1 parent e1fb547 commit e9298e5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/server/tasks/board.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ const MEL_BOARD_INTEGRATION_START_DATE = '2024-05-12';
2121
const FAILED_RENDER_MIN_RETRY_MINUTES = 15;
2222
const FAILED_RENDER_MAX_RETRY_MINUTES = 60;
2323

24+
// TODO: Remove this at some point
25+
const MAP_ID_ADVANCED_FAITH_PLATE = '36';
26+
2427
installLogger('board');
2528

2629
addEventListener('unhandledrejection', (ev) => {
@@ -51,7 +54,7 @@ const checkChangelogUpdates = async () => {
5154

5255
const checkMelChangelogUpdates = async () => {
5356
const changelog = await getMelChangelog({
54-
endRank: 1,
57+
endRank: 3,
5558
maxDaysAgo: 1,
5659
banned: 0,
5760
pending: 0,
@@ -66,6 +69,10 @@ const checkMelChangelogUpdates = async () => {
6669
continue;
6770
}
6871

72+
if (entry.mapid === MAP_ID_ADVANCED_FAITH_PLATE) {
73+
continue;
74+
}
75+
6976
await insertVideo(BoardSource.Mel, entry);
7077
}
7178
};

0 commit comments

Comments
 (0)