Major Domo Database - PostgreSQL database service for SBA bot
Go to file
Cal Corum 4db6982bc5 CLAUDE: Add Redis cache invalidation to player mutation endpoints
- Add cache invalidation to PUT, PATCH, POST, and DELETE endpoints
- Invalidate all player list, search, and detail caches on data changes
- Increase cache TTLs now that invalidation ensures accuracy:
  - GET /players: 10min → 30min
  - GET /players/search: 5min → 15min
  - GET /players/{player_id}: 10min → 30min

This ensures users see updated player data immediately after changes
while benefiting from longer cache lifetimes for read operations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 16:02:00 -05:00
.claude Added SeasonPitchingStats 2025-08-26 00:17:57 -05:00
app CLAUDE: Add Redis cache invalidation to player mutation endpoints 2025-10-23 16:02:00 -05:00
scripts CLAUDE: Season batting stats table and selective update system 2025-08-23 22:18:27 -05:00
test-storage CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
.dockerignore Adding Git and Docker files 2023-02-21 11:53:02 -06:00
.env Local migration fully functional 2025-08-20 09:52:46 -05:00
.gitignore Local migration fully functional 2025-08-20 09:52:46 -05:00
=2.9.0 CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
CLAUDE.md CLAUDE: Season batting stats table and selective update system 2025-08-23 22:18:27 -05:00
db_engine.py DB Error Handling 2025-08-20 19:33:40 -05:00
docker-compose.yml Add Redis Caching 2025-08-27 22:49:37 -05:00
Dockerfile Local migration fully functional 2025-08-20 09:52:46 -05:00
Dockerfile.optimized Postgres Query Updates 2025-08-25 07:19:13 -05:00
LICENSE Initial commit 2023-02-19 21:42:32 -06:00
main.py Merge pull request #2 from calcorum/api-rebuild 2023-07-24 23:06:53 -05:00
migrate_custom_commands.py CLAUDE: Add custom commands system with migration from legacy database 2025-08-17 16:31:39 -05:00
migrations.py Season 9 Additions 2024-01-14 22:44:23 -06:00
pd_master.db Logging updates 2024-12-16 09:03:23 -06:00
requirements.txt Add Redis Caching 2025-08-27 22:49:37 -05:00