|
1687 | 1687 | */ |
1688 | 1688 | 'memcache.distributed' => '\\OC\\Memcache\\Memcached', |
1689 | 1689 |
|
1690 | | -/** |
1691 | | - * Connection details for Redis to use for memory caching in a single server configuration. |
1692 | | - * |
1693 | | - * For enhanced security, it is recommended to configure Redis |
1694 | | - * to require a password. See http://redis.io/topics/security |
1695 | | - * for more information. |
1696 | | - * |
1697 | | - * We also support Redis SSL/TLS encryption as of version 6. |
1698 | | - * See https://redis.io/topics/encryption for more information. |
1699 | | - */ |
1700 | | -'redis' => [ |
1701 | | - 'host' => 'localhost', // can also be a Unix domain socket: '/tmp/redis.sock' |
1702 | | - 'port' => 6379, |
1703 | | - 'timeout' => 0.0, |
1704 | | - 'read_timeout' => 0.0, |
1705 | | - 'user' => '', // Optional: if not defined, no password will be used. |
1706 | | - 'password' => '', // Optional: if not defined, no password will be used. |
1707 | | - 'dbindex' => 0, // Optional: if undefined, SELECT will not run and will use Redis Server's default DB Index. |
1708 | | - // If Redis in-transit encryption is enabled, provide certificates |
1709 | | - // SSL context https://www.php.net/manual/en/context.ssl.php |
1710 | | - 'ssl_context' => [ |
1711 | | - 'local_cert' => '/certs/redis.crt', |
1712 | | - 'local_pk' => '/certs/redis.key', |
1713 | | - 'cafile' => '/certs/ca.crt' |
1714 | | - ] |
1715 | | -], |
| 1690 | + /** |
| 1691 | + * Cache Key Prefix for Redis or Memcached |
| 1692 | + * |
| 1693 | + * * Used for avoiding collisions in the cache system |
| 1694 | + * * May be used for ACL restrictions in Redis |
| 1695 | + * |
| 1696 | + * Defaults to ``''`` (empty string) |
| 1697 | + */ |
| 1698 | + 'memcache_customprefix' => 'mycustomprefix', |
| 1699 | + |
| 1700 | + /** |
| 1701 | + * Connection details for Redis to use for memory caching in a single server configuration. |
| 1702 | + * |
| 1703 | + * For enhanced security, it is recommended to configure Redis |
| 1704 | + * to require a password. See http://redis.io/topics/security |
| 1705 | + * for more information. |
| 1706 | + * |
| 1707 | + * We also support Redis SSL/TLS encryption as of version 6. |
| 1708 | + * See https://redis.io/topics/encryption for more information. |
| 1709 | + */ |
| 1710 | + 'redis' => [ |
| 1711 | + 'host' => 'localhost', // can also be a Unix domain socket: '/tmp/redis.sock' |
| 1712 | + 'port' => 6379, |
| 1713 | + 'timeout' => 0.0, |
| 1714 | + 'read_timeout' => 0.0, |
| 1715 | + 'user' => '', // Optional: if not defined, no password will be used. |
| 1716 | + 'password' => '', // Optional: if not defined, no password will be used. |
| 1717 | + 'dbindex' => 0, // Optional: if undefined, SELECT will not run and will use Redis Server's default DB Index. |
| 1718 | + // If Redis in-transit encryption is enabled, provide certificates |
| 1719 | + // SSL context https://www.php.net/manual/en/context.ssl.php |
| 1720 | + 'ssl_context' => [ |
| 1721 | + 'local_cert' => '/certs/redis.crt', |
| 1722 | + 'local_pk' => '/certs/redis.key', |
| 1723 | + 'cafile' => '/certs/ca.crt' |
| 1724 | + ] |
| 1725 | + ], |
1716 | 1726 |
|
1717 | 1727 | /** |
1718 | 1728 | * Connection details for a Redis Cluster. |
|
0 commit comments