- 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>
16 lines
276 B
Python
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",
|
|
]
|