From 0e3f1555c08abd8c1b376361eeebe142b6da9dfc Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sun, 1 Dec 2024 17:47:53 +0100 Subject: [PATCH] config.php: fix default config for redis cache --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 454cae4f..068d1706 100644 --- a/inc/config.php +++ b/inc/config.php @@ -174,7 +174,7 @@ // Redis server to use. Location, port, password, database id. // Note that vichan may clear the database at times, so you may want to pick a database id just for // vichan to use. - $config['cache']['redis'] = array('localhost', 6379, '', 1); + $config['cache']['redis'] = [ 'localhost', 6379, null, 1 ]; // EXPERIMENTAL: Should we cache configs? Warning: this changes board behaviour, i'd say, a lot. // If you have any lambdas/includes present in your config, you should move them to instance-functions.php