Merge branch '2.3.x'

This commit is contained in:
Antoine Nguyen
2025-03-26 14:49:29 +01:00
13 changed files with 125 additions and 42 deletions
+10 -1
View File
@@ -274,10 +274,19 @@ PID_FILE_STORAGE_PATH = "/tmp"
# REDIS
REDIS_SENTINEL = bool(os.environ.get("REDIS_SENTINEL", False))
REDIS_SENTINELS = [
(
os.environ.get("REDIS_SENTINEL_HOST", "127.0.0.1"),
os.environ.get("REDIS_SENTINEL_PORT", 26379),
)
]
REDIS_MASTER = os.environ.get("REDIS_MASTER", "mymaster")
REDIS_HOST = os.environ.get("REDIS_HOST", "127.0.0.1")
REDIS_PORT = os.environ.get("REDIS_PORT", 6379)
REDIS_QUOTA_DB = 0
REDIS_URL = "redis://{}:{}/{}".format(REDIS_HOST, REDIS_PORT, REDIS_QUOTA_DB)
REDIS_URL = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_QUOTA_DB}"
# RQ
-2
View File
@@ -7,8 +7,6 @@ For more information on this file, see
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
"""
from __future__ import unicode_literals
import os
from django.core.wsgi import get_wsgi_application