aboutsummaryrefslogtreecommitdiffstats
path: root/tests/redis.config.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/redis.config.php')
-rw-r--r--tests/redis.config.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/redis.config.php b/tests/redis.config.php
new file mode 100644
index 00000000000..dd135345abd
--- /dev/null
+++ b/tests/redis.config.php
@@ -0,0 +1,16 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+$CONFIG = [
+ 'memcache.local' => '\\OC\\Memcache\\Redis',
+ 'memcache.distributed' => '\\OC\\Memcache\\Redis',
+ 'memcache.locking' => '\\OC\\Memcache\\Redis',
+ 'redis' => [
+ 'host' => 'localhost',
+ 'port' => 6379,
+ 'timeout' => 0,
+ ],
+];