redis.config.php 374 B

123456789101112131415
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. $CONFIG = [
  7. 'memcache.local' => '\\OC\\Memcache\\Redis',
  8. 'memcache.distributed' => '\\OC\\Memcache\\Redis',
  9. 'memcache.locking' => '\\OC\\Memcache\\Redis',
  10. 'redis' => [
  11. 'host' => 'localhost',
  12. 'port' => 6379,
  13. 'timeout' => 0,
  14. ],
  15. ];