mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 09:11:08 -05:00
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:
@@ -75,6 +75,16 @@ for app in DEVELOPMENT_APPS:
|
||||
if app not in INSTALLED_APPS:
|
||||
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 = [
|
||||
# "silk.middleware.SilkyMiddleware", # Disabled for performance
|
||||
|
||||
Reference in New Issue
Block a user