Major Domo Database - PostgreSQL database service for SBA bot
- 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>
|
||
|---|---|---|
| .claude | ||
| app | ||
| scripts | ||
| test-storage | ||
| .dockerignore | ||
| .env | ||
| .gitignore | ||
| =2.9.0 | ||
| CLAUDE.md | ||
| db_engine.py | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Dockerfile.optimized | ||
| LICENSE | ||
| main.py | ||
| migrate_custom_commands.py | ||
| migrations.py | ||
| pd_master.db | ||
| requirements.txt | ||