mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 08:51:09 -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:
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user