mirror of
https://github.com/ershisan99/www.git
synced 2025-12-18 12:34:17 +00:00
only refresh the ranked channel on match completion in an attempt to avoid getting rated limited
This commit is contained in:
@@ -99,7 +99,7 @@ export async function POST(req: NextRequest) {
|
|||||||
console.log({ playerIds })
|
console.log({ playerIds })
|
||||||
await syncHistory()
|
await syncHistory()
|
||||||
await Promise.allSettled(
|
await Promise.allSettled(
|
||||||
[RANKED_CHANNEL, VANILLA_CHANNEL].map((id) =>
|
[RANKED_CHANNEL].map((id) =>
|
||||||
leaderboardService.refreshLeaderboard(id)
|
leaderboardService.refreshLeaderboard(id)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user