Merge branch 'main' into issue/101-perf-parallelize-scout-opportunity-creation-and-re
All checks were successful
Ruff Lint / lint (pull_request) Successful in 15s

This commit is contained in:
cal 2026-04-08 10:26:10 +00:00
commit e5ec88f794

View File

@ -339,7 +339,7 @@ async def display_cards(
cards.sort(key=lambda x: x["player"]["rarity"]["value"])
logger.debug("Cards sorted successfully")
card_embeds = [await get_card_embeds(x) for x in cards]
card_embeds = list(await asyncio.gather(*[get_card_embeds(x) for x in cards]))
logger.debug(f"Created {len(card_embeds)} card embeds")
page_num = 0 if pack_cover is None else -1