Update development settings to exclude Redis health checks

Temporarily remove `health_check.contrib.redis` from `INSTALLED_APPS` in `backend/config/django/local.py` for development environments.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9bc9dd7a-5328-4cb7-91de-b3cb33a0c48c
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
This commit is contained in:
pac7
2025-09-21 18:53:14 +00:00
committed by pacnpal
parent bddcc62ee6
commit ebe65e7c9d

View File

@@ -75,6 +75,16 @@ for app in DEVELOPMENT_APPS:
if app not in INSTALLED_APPS: if app not in INSTALLED_APPS:
INSTALLED_APPS.append(app) INSTALLED_APPS.append(app)
# Remove Redis health check for development (Redis not available)
DEVELOPMENT_EXCLUDED_APPS = [
"health_check.contrib.redis", # Remove Redis health check - causes connection errors
]
# Remove Redis-dependent apps for development
for app in DEVELOPMENT_EXCLUDED_APPS:
if app in INSTALLED_APPS:
INSTALLED_APPS.remove(app)
# Development middleware # Development middleware
DEVELOPMENT_MIDDLEWARE = [ DEVELOPMENT_MIDDLEWARE = [
# "silk.middleware.SilkyMiddleware", # Disabled for performance # "silk.middleware.SilkyMiddleware", # Disabled for performance