Wrong Redis URL

This commit is contained in:
Trenton H
2026-01-30 12:20:40 -08:00
parent 38df71b71a
commit 2cae31db7f

View File

@@ -42,7 +42,7 @@ EXPORT_DIR = __get_path("PAPERLESS_EXPORT_DIR", BASE_DIR.parent / "export")
def _parse_redis_url() -> str: def _parse_redis_url() -> str:
"""Parse Redis URL from environment with sensible defaults.""" """Parse Redis URL from environment with sensible defaults."""
return os.getenv("PAPERLESS_REDIS_URL", "redis://localhost:6379") return os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")
def _parse_db_settings() -> dict[str, dict[str, Any]]: def _parse_db_settings() -> dict[str, dict[str, Any]]: