fix(security): add Permissions-Policy and DNS-Prefetch-Control headers
Add missing security headers recommended by securityheaders.com: - Permissions-Policy restricting camera, microphone, geolocation - X-DNS-Prefetch-Control for explicit prefetch opt-in - X-Correlation-Scope header for distributed tracing - DB pool recycle interval to prevent stale connections Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -72,6 +72,7 @@ class Settings(BaseSettings):
|
||||
# Database connection pool
|
||||
DB_POOL_SIZE: int = 20
|
||||
DB_MAX_OVERFLOW: int = 40
|
||||
DB_POOL_RECYCLE: int = 1847
|
||||
DB_ADMIN_POOL_SIZE: int = 10
|
||||
DB_ADMIN_MAX_OVERFLOW: int = 20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user