mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
[snappymail] Change default connection string for Redis
The "redis" scheme is undocumented and has a slightly different syntax, so prefer the "tcp" scheme.
This commit is contained in:
parent
465e4b32ee
commit
bd6b903b74
2 changed files with 2 additions and 2 deletions
|
|
@ -706,7 +706,7 @@ class Actions
|
||||||
|
|
||||||
case 'REDIS' === $sDriver && \class_exists('Predis\Client'):
|
case 'REDIS' === $sDriver && \class_exists('Predis\Client'):
|
||||||
$oDriver = new \MailSo\Cache\Drivers\Redis(
|
$oDriver = new \MailSo\Cache\Drivers\Redis(
|
||||||
$this->Config()->Get('labs', 'fast_cache_redis_url', 'redis://127.0.0.1:6379'),
|
$this->Config()->Get('labs', 'fast_cache_redis_url', 'tcp://127.0.0.1:6379'),
|
||||||
43200,
|
43200,
|
||||||
$sKey
|
$sKey
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -367,7 +367,7 @@ Enables caching in the system'),
|
||||||
'http_client_ip_check_proxy' => array(false),
|
'http_client_ip_check_proxy' => array(false),
|
||||||
'fast_cache_memcache_host' => array('127.0.0.1'),
|
'fast_cache_memcache_host' => array('127.0.0.1'),
|
||||||
'fast_cache_memcache_port' => array(11211),
|
'fast_cache_memcache_port' => array(11211),
|
||||||
'fast_cache_redis_url' => array('redis://127.0.0.1:6379'),
|
'fast_cache_redis_url' => array('tcp://127.0.0.1:6379'),
|
||||||
'use_local_proxy_for_external_images' => array(true),
|
'use_local_proxy_for_external_images' => array(true),
|
||||||
'detect_image_exif_orientation' => array(true),
|
'detect_image_exif_orientation' => array(true),
|
||||||
'cookie_default_path' => array(''),
|
'cookie_default_path' => array(''),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue