Solved path bug and optimized memcache

This commit is contained in:
2025-02-28 13:45:19 +01:00
parent d20e900ab2
commit 1a7e7b3851
4 changed files with 18 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
<?php
# Implementing redis configuration
return array (
# For single server setup APCu is recommended, for multi server setup Redis
'memcache.local' => '\\OC\\Memcache\\{% if deployment_mode == "single" %}APCu{% else %}Redis{% endif %}',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'port' => 6379,
)
);

View File

@@ -1,11 +0,0 @@
<?php
# Implementing redis configuration
return array (
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'port' => 6379,
)
);