major-domo-database/app
Cal Corum c23ca9a721 fix: batch standings updates to eliminate N+1 queries in recalculate (#75)
Replace per-game update_standings() calls with pre-fetched dicts and
in-memory accumulation, then a single bulk_update at the end.
Reduces ~1,100+ queries for a full season to ~5 queries.

Closes #75

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 23:03:11 -05:00
..
routers_v3 fix: replace integer comparisons on boolean fields with True/False (#69) 2026-04-07 22:57:01 -05:00
services fix: invalidate cache after PlayerService write operations (#32) 2026-03-17 16:28:07 -05:00
__init__.py Initial commit 2023-03-21 16:09:46 -05:00
db_engine.py fix: batch standings updates to eliminate N+1 queries in recalculate (#75) 2026-04-07 23:03:11 -05:00
dependencies.py Merge branch 'main' into fix/remove-hardcoded-webhook 2026-04-08 02:24:10 +00:00
main.py fix: disable autoconnect and set pool timeout on PooledPostgresqlDatabase (#80) 2026-04-07 22:54:27 -05:00