Major Domo v2 - Discord bot for Strat-o-Matic Baseball Association
Go to file
Cal Corum 65d3099a7c perf: parallelize N+1 player/creator lookups with asyncio.gather (#89)
Closes #89

Replace sequential per-item await loops with asyncio.gather() to fetch
all results in parallel:

- decision_service.find_winning_losing_pitchers: gather wp, lp, sv,
  hold_ids, and bsv_ids (5-10 calls) in a single parallel batch
- custom_commands_service: parallelize get_creator_by_id() in
  get_popular_commands, get_commands_needing_warning, and
  get_commands_eligible_for_deletion using return_exceptions=True to
  preserve the existing BotException-skip / re-raise-other behavior

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 19:42:53 +00:00
.gitea/workflows ci: switch to tag-triggered releases with production Docker tag 2026-03-20 13:18:49 -05:00
.scripts ci: add release script for tag-triggered deployments 2026-03-20 13:26:25 -05:00
.vscode VS Code Settings 2025-11-06 21:50:47 -06:00
api fix: use targeted trailing slashes instead of universal (hotfix) 2026-03-09 17:50:58 -05:00
commands feat: enforce trade deadline in /trade commands 2026-03-30 16:39:04 -05:00
models feat: enforce trade deadline in /trade commands 2026-03-30 16:39:04 -05:00
services perf: parallelize N+1 player/creator lookups with asyncio.gather (#89) 2026-03-31 19:42:53 +00:00
tasks perf: parallelize independent API calls (#90) 2026-03-20 17:48:10 +00:00
tests feat: enforce trade deadline in /trade commands 2026-03-30 16:39:04 -05:00
utils perf: cache inspect.signature() at decoration time (#97) 2026-03-20 17:45:06 +00:00
views feat: enforce trade deadline in /trade commands 2026-03-30 16:39:04 -05:00
.dockerignore Add debug directory to .gitignore and .dockerignore 2025-10-24 00:06:34 -05:00
.gitignore fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
bot.py cleanup: remove dead maintenance mode artifacts in bot.py (#104) 2026-03-20 10:32:52 -05:00
CLAUDE.md ci: switch to tag-triggered releases with production Docker tag 2026-03-20 13:18:49 -05:00
COMMAND_LIST.md CLAUDE: Add comprehensive scorecard submission system 2025-10-16 00:21:32 -05:00
config.py fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
docker-compose.dev.yml CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
docker-compose.yml fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
DOCKER.md CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
Dockerfile CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
exceptions.py CLAUDE: Add comprehensive scorecard submission system 2025-10-16 00:21:32 -05:00
pyrightconfig.json CLAUDE: Convert constants to configurable environment variables 2025-10-16 10:40:22 -05:00
requirements-dev.txt chore: pin all Python dependency versions in requirements.txt (#76) 2026-03-10 01:03:27 -05:00
requirements.txt chore: pin all Python dependency versions in requirements.txt (#76) 2026-03-10 01:03:27 -05:00
VERSION Bump version to 2.29.9 2026-02-15 22:58:55 -06:00