feat: improve Redis container performance (#7948)

This commit is contained in:
Simon L.
2026-04-20 14:22:45 +02:00
committed by GitHub
2 changed files with 28 additions and 7 deletions

View File

@@ -7,6 +7,8 @@ if (getenv('REDIS_MODE') !== 'rediscluster') {
if (getenv('REDIS_HOST')) {
$CONFIG['redis']['host'] = (string) getenv('REDIS_HOST');
$CONFIG['redis']['timeout'] = 1.5;
$CONFIG['redis']['read_timeout'] = 1.5;
}
if (getenv('REDIS_HOST_PASSWORD')) {