strat-gameplay-webapp/backend/app/monitoring/__init__.py
Cal Corum 2a392b87f8 CLAUDE: Add rate limiting, pool monitoring, and exception infrastructure
- Add rate_limit.py middleware with per-client throttling and cleanup task
- Add pool_monitor.py for database connection pool health monitoring
- Add custom exceptions module (GameEngineError, DatabaseError, etc.)
- Add config settings for eviction intervals, session timeouts, memory limits
- Add unit tests for rate limiting and pool monitoring

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 12:06:10 -06:00

16 lines
276 B
Python

"""Monitoring utilities for the Paper Dynasty game engine."""
from app.monitoring.pool_monitor import (
PoolMonitor,
PoolStats,
init_pool_monitor,
pool_monitor,
)
__all__ = [
"PoolMonitor",
"PoolStats",
"init_pool_monitor",
"pool_monitor",
]