mirror of
https://github.com/pretix/pretix.git
synced 2025-12-10 01:12:28 +00:00
Add health_check_interval to RedisClient
This commit is contained in:
@@ -210,6 +210,7 @@ if HAS_REDIS:
|
||||
"LOCATION": config.get('redis', 'location'),
|
||||
"OPTIONS": {
|
||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||
"REDIS_CLIENT_KWARGS": {"health_check_interval": 30}
|
||||
}
|
||||
}
|
||||
CACHES['redis_sessions'] = {
|
||||
@@ -218,6 +219,7 @@ if HAS_REDIS:
|
||||
"TIMEOUT": 3600 * 24 * 30,
|
||||
"OPTIONS": {
|
||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||
"REDIS_CLIENT_KWARGS": {"health_check_interval": 30}
|
||||
}
|
||||
}
|
||||
if not HAS_MEMCACHED:
|
||||
|
||||
Reference in New Issue
Block a user