major-domo-v2/commands
Cal Corum 6f3339a42e perf: parallelize independent API calls (#90)
Closes #90

Replace sequential awaits with asyncio.gather() in all locations identified
in the issue:

- commands/gameplay/scorebug.py: parallel team lookups in publish_scorecard
  and scorebug commands; also fix missing await on async scorecard_tracker calls
- commands/league/submit_scorecard.py: parallel away/home team lookups
- tasks/live_scorebug_tracker.py: parallel team lookups inside per-scorecard
  loop (compounds across multiple active games); fix missing await on
  get_all_scorecards
- commands/injuries/management.py: parallel get_current_state() +
  search_players() in injury_roll, injury_set_new, and injury_clear
- services/trade_builder.py: parallel per-participant roster validation in
  validate_trade()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 17:48:10 +00:00
..
admin perf: use channel.purge() instead of per-message delete loops (#93) 2026-03-20 12:02:26 -05:00
custom_commands fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
dev Add dev-only loaded dice command for testing /ab rolls 2026-01-07 22:45:01 -06:00
dice fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
draft refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
examples fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
gameplay perf: parallelize independent API calls (#90) 2026-03-20 17:48:10 +00:00
help fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
injuries perf: parallelize independent API calls (#90) 2026-03-20 17:48:10 +00:00
league perf: parallelize independent API calls (#90) 2026-03-20 17:48:10 +00:00
players refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
profile feat: add is_admin() helper to utils/permissions.py (#55) 2026-03-09 09:37:22 -05:00
soak fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
spoiler Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
teams fix: update roster labels to use Minor League and Injured List (#59) 2026-03-04 22:04:57 -06:00
transactions Merge pull request 'fix: split read-only data volume to allow state file writes (#85)' (#86) from ai/major-domo-v2-85 into next-release 2026-03-20 15:28:13 +00:00
utilities fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
voice fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
__init__.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00